Skip to content

Install Chocolatey on any computer in one short command using Choco.run!

Notifications You must be signed in to change notification settings

asheroto/choco.run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Release Date - Published_At GitHub Downloads - All Releases GitHub Sponsor Ko-Fi Button

Install Chocolatey in one simple line

demo

In a hurry? Bad memory? Just want to get some Chocolatey goodness in your machine?

Choco.run makes installing Chocolatey easy!

Usage

Run in PowerShell (as an Administrator):

irm choco.run | iex

Alternate method - disable Chocolatey prompts

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

Alternate method, without choco.run

Run in PowerShell (as an Administrator):

Install-PackageProvider -Name "NuGet" -Force
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Install-Module -Name "Chocolatey"

How it works

meme

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.

Troubleshooting

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