Latest news:

Sahih al-Bukhari (সহীহ বুখারী) is a free Hadith application for android. This application is advertisement free. Download now

Install Chocolatey for Windows

Install Chocolatey for Windows

Windows chocolatey is a command-line interface based package manager. 

Chocolatey can be used for automated software installation, remove and upgrade. 

To install Chocolatey on Windows, you will need to run an elevated command shell:

  • Launch the Start menu
  • Start typing in PowerShell
  • You should see Windows PowerShell Desktop App as a search result
  • Right-click on Windows PowerShell and select Run as Administrator
  • This will trigger a User Account Control (UAC) warning; select Yes to continue

Execute the following command in PowerShell to install the Chocolatey package manager:

PS> Set-ExecutionPolicy AllSigned; iex ((New-Object System.Net.WebClient).DownloadString(''))

To verify chocolatey installation by executing choco

This should display similar output, as following:

  • Chocolatey v0.10.11 Please run 'choco -?' or 'choco -?' for help menu.

Other subsequent Chocolatey commands must also be executed from an elevated command shell. 

Alternatively, it is also possible to install chocolatey in a non-administrator setting

that doesn't require an elevated command shell. 

But we need to remember this, That will result in a non-standard and less secure development environment, 

Because certain applications installed through this tool may still require elevation.

For more information, refer to:

Tags :

Views : 378

Subscribe Us

Follow Us