- 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.
推薦閱讀
- 造個小程序:與微信一起干件正經事兒
- 編程卓越之道(卷3):軟件工程化
- Java EE框架整合開發入門到實戰:Spring+Spring MVC+MyBatis(微課版)
- C# 從入門到項目實踐(超值版)
- Scratch 3.0少兒編程與邏輯思維訓練
- The Complete Coding Interview Guide in Java
- .NET 4.5 Parallel Extensions Cookbook
- JQuery風暴:完美用戶體驗
- R的極客理想:量化投資篇
- C Primer Plus(第6版)中文版【最新修訂版】
- Koa與Node.js開發實戰
- Effective C++:改善程序與設計的55個具體做法(第三版)中文版(雙色)
- Practical Responsive Typography
- Unity 3D UI Essentials
- JavaScript Mobile Application Development