Windows package manager Chocolatey, installation using Powershell
Windows package manager Chocolatey, installation using Powershell
Here, we are discussing about the Windows package manager Chocolatey, installation using powershell. To start the installation process, open the Windows Powershell ISE in your machine, and type the command,
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
If you are getting the error “running scripts is disabled in this system“, please follow the below steps.
Open the Windows Powershell ISE as “Administrator” using the “Run as Administrator” option. Once you have opened the Windows Powershell ISE as “Administrator“, please proceed to execute the below command,
Set-ExecutionPolicy RemoteSigned
Press “Yes to All“, if you wish to allow the script execution permanently.
Once the script is executed, please run the installation command once again,
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
To upgrade the windows package manager, “Chocolatey“, please run the command,
choco upgrade chocolatey
You can read more about the package manager installation from the official Chocolatey page, https://chocolatey.org/docs/installation