- 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.
推薦閱讀
- Visual C++程序設計學習筆記
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- OpenCV實例精解
- CentOS 7 Linux Server Cookbook(Second Edition)
- BeagleBone Media Center
- 算法大爆炸:面試通關步步為營
- AIRAndroid應用開發實戰
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- JavaScript動態網頁開發詳解
- Getting Started with NativeScript
- 劍指Java:核心原理與應用實踐
- Active Directory with PowerShell
- JavaCAPS基礎、應用與案例
- MySQL從入門到精通(軟件開發視頻大講堂)
- Node.js區塊鏈開發