
More importantly, reading through a script you want to run is a vital step in good security. If you're not familiar with PowerShell, this is a great way to get comfortable with its syntax. Open the downloaded file, named chocolatey-install.ps1 by Invoke-Webrequest, in your favorite text editor or just read it in PowerShell: PS> cat chocolatey-install.ps1 | more You must tell it to use a recent version of TLS instead, and the easiest way to do that is to set up some choices for PowerShell to cycle through until it finds the correct connection method: PS> ::SecurityProtocol = "Tls12, Tls11, Tls"ĭownload the install script: PS> Invoke-Webrequest -Uri -OutFile chocolatey-install.ps1 Right-click on the PowerShell entry in the application menu and select Run as administrator.īefore installing Chocolatey and its choco command, read through the install script.īecause running PowerShell as administrator places you within the C:\Windows\stystem32 directory, change to a reasonable location on your hard drive, such as your home directory, with: PS> pwdĪt the time of this writing, there's a bug in PowerShell that causes it to use TLS 1.0 when negotiating SSL on the internet. To run PowerShell in admin mode, click on the Windows menu in the lower-left corner of your desktop and type powershell. It's a powerful open source archiving utility, and you'll be glad you have it-with or without Chocolatey.

If you don't have 7-Zip installed yet, download and install it before installing Chocolatey. And finally, if you're a developer, you'll love the ease with which you can install and track your development environment.Ĭhocolatey is a bold step into a brave new world, so prepare yourself! Install ChocolateyĬhocolatey requires 7-Zip, PowerShell, and admin privileges.

Once you acclimate to having so many new choices of software to run, you might enjoy the ease of updating all of the software installed with Chocolatey at once.

You don't have to hunt through every corner of the internet for cool new applications thousands of them are discoverable, aggregated in one list (but still independent of one another online, a vital characteristic of a healthy and diverse ecosystem). When you start using Chocolatey, you may be excited about all of the great open source software available with just one or two commands.

If you've never used a package manager before, then the advantages of Chocolatey might not be immediately obvious.
