In a hurry? Bad memory? Just want to get some Chocolatey goodness in your machine?
Choco.run makes installing Chocolatey easy!
Run in PowerShell (as an Administrator):
irm choco.run | iex
This method installs Chocolatey but also disables the Yes/No prompts when installing, upgrading, or uninstalling.
Run in PowerShell (as an Administrator):
irm alt.choco.run | iex
Run in PowerShell (as an Administrator):
Install-PackageProvider -Name "NuGet" -Force
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Install-Module -Name "Chocolatey"
choco.run redirects to the latest code-signed release of install.ps1. It detects the user agent that the request is coming from and redirects to either the PowerShell script or redirects to the GitHub repository. With this method, PowerShell sees the script, and your web browser sees the repository.
alt.choco.run redirects to the latest code-signed release of install.ps1.
If you need to install Chocolatey and for some reason the above commands are not working, you can always go to manual.choco.run which redirects to the official Chocolatey setup page.
If when you download the script you see HTML instead of PowerShell code, you can use the following URL to force a the PS1 script download (see How it Works):
irm choco.run/install | iex
or for the alternate method:
irm alt.choco.run/install | iex