Skip to main content

One line command to instal chocolatey on Windows 10 command line

One line command to install choco on Windows 10 using the command line.

Run the command line as administrator, and here's the command to install chocolatey

 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"



Comments