- Angular 6 for Enterprise:Ready Web Applications
- Doguhan Uluca
- 176字
- 2021-06-25 21:20:26
Install Chocolatey for Windows
Chocolatey is a CLI-based package manager for Windows, which can be used for automated software installation. 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('https://chocolatey.org/install.ps1'))
- Verify your Chocolatey installation by executing choco
- You should see a similar output, as shown in the following screenshot:

Successful installation of Chocolatey
All subsequent Chocolatey commands must also be executed from an elevated command shell. Alternatively, it is possible to install Chocolatey in a non-administrator setting that doesn't require an elevated command shell. However, this will result in a non-standard and less secure development environment, and certain applications installed through the tool may still require elevation.
For more information, refer to: https://chocolatey.org/install.
推薦閱讀
- Web安全防護(hù)指南:基礎(chǔ)篇
- 從區(qū)塊鏈到Web3:構(gòu)建未來互聯(lián)網(wǎng)生態(tài)
- Learning QGIS 2.0
- 計算機(jī)網(wǎng)絡(luò)安全實訓(xùn)教程(第二版)
- 通信簡史:從信鴿到6G+
- 網(wǎng)絡(luò)安全技術(shù)與解決方案(修訂版)
- Yii Application Development Cookbook(Second Edition)
- 雷達(dá)饋線技術(shù)
- 物聯(lián)網(wǎng)技術(shù)與應(yīng)用
- IPv6網(wǎng)絡(luò)切片:使能千行百業(yè)新體驗
- 從實踐中學(xué)習(xí)手機(jī)抓包與數(shù)據(jù)分析
- 轉(zhuǎn)化:提升網(wǎng)站流量和轉(zhuǎn)化率的技巧
- NB-IoT原理和優(yōu)化
- 移動互聯(lián)網(wǎng)環(huán)境下的核心網(wǎng)剖析及演進(jìn)
- 物聯(lián)網(wǎng)導(dǎo)論