- 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.
推薦閱讀
- Mobile Application Development:JavaScript Frameworks
- C語言程序設計教程(第2版)
- 編寫高質量代碼:改善Python程序的91個建議
- 精通軟件性能測試與LoadRunner實戰(第2版)
- 秒懂設計模式
- 小學生C++創意編程(視頻教學版)
- Access 2010數據庫應用技術(第2版)
- 從零開始學C語言
- WordPress 4.0 Site Blueprints(Second Edition)
- PHP編程基礎與實踐教程
- Raspberry Pi Robotic Blueprints
- Exploring SE for Android
- Web前端開發技術:HTML、CSS、JavaScript
- Hands-On Dependency Injection in Go
- Instant PhoneGap