Chocolatey (get it? Chocolatey Nu-Get?) extends that concept to bring applications down at the system level. NuGet is the package management system that Windows Developers use to bring libraries down at the project level. Installbuilder get parent folder install#How it worksĬhocolatey is a bootstrapper that uses PowerShell scripts and the NuGet packaging format to install apps for you. Installbuilder get parent folder zip file#It downloads the Chocolatey installation zip file (which is actually a NuGet package), unzips it and continues the installation by running a scripts in the tools section of the package. It's a very clean and easy to read script. It'll be added to future instances of prompts automatically. It then adds Chocolatey to your path (for this one prompt) so you can use it immediately. To be clear, it's executing code downloaded over the web, so there is a non-zero risk there. Note that it's setting execution policy to unrestricted to do this. It launches a chunk of PowerShell script that it downloads from then executes. Some folks have custom profiles so the -NoProfile switch suppresses custom profiles to prevent conflicts during installation. Nearly every Windows machine has PowerShell these days, and it's PowerShell that makes Chocolatey work. It's going to launch PowerShell to do the hard work. Presumably you like to know what command line stuff is going to do to your computer before you do it, so parse this line out. NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(''))"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |