官术网_书友最值得收藏!

  • Learn WebAssembly
  • Mike Rourke
  • 138字
  • 2021-08-13 15:38:57

Chocolatey for Windows

Chocolatey is a package manager for Windows. It's similar to Apt in that it lets you install both command-line tools and applications. To install Chocolatey, you need to run the command prompt (cmd.exe) as an administrator. You can do this by pressing the Start menu button, typing cmd, and right-clicking on the Command Prompt application and selecting Run as administrator:

Running the Command Prompt as an administrator

Then just run the following command:

@"%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"
The easiest way to get the command text is through Chocolatey's installation page at https://chocolatey.org/install. There's a button to copy the text to your clipboard under the Install with cmd.exe section. You could also install the application using PowerShell if you follow the steps on the Installation page.
主站蜘蛛池模板: 连州市| 修水县| 洱源县| 麻江县| 广元市| 东兰县| 浙江省| 札达县| 东安县| 垣曲县| 从化市| 都兰县| 五河县| 望谟县| 固安县| 七台河市| 共和县| 高台县| 察哈| 乌兰察布市| 林周县| 井陉县| 兴隆县| 太谷县| 淄博市| 胶南市| 呼玛县| 柏乡县| 桂东县| 天长市| 绵阳市| 阿鲁科尔沁旗| 当阳市| 凉城县| 迭部县| 江川县| 章丘市| 青海省| 诸城市| 湘西| 岳西县|