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  

Windows package manager Chocolatey, installation using Powershell

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

Windows package manager Chocolatey, installation using Powershell

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

Windows package manager Chocolatey, installation using Powershell

To upgrade the windows package manager, “Chocolatey“, please run the command,

choco upgrade chocolatey

Windows package manager Chocolatey, installation using Powershell

You can read more about the package manager installation from the official Chocolatey page, https://chocolatey.org/docs/installation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.