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

  • 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.
主站蜘蛛池模板: 常熟市| 九台市| 柳州市| 荔浦县| 确山县| 西城区| 巢湖市| 临洮县| 广宁县| 安吉县| 伊川县| 徐闻县| 荆州市| 射阳县| 柯坪县| 华池县| 岳阳县| 喀喇沁旗| 孟连| 鄯善县| 盐池县| 萝北县| 朝阳区| 庐江县| 武功县| 余干县| 开原市| 墨脱县| 兰溪市| 兴隆县| 绥宁县| 拉萨市| 拜泉县| 金坛市| 乌拉特前旗| 承德县| 金塔县| 当雄县| 阳江市| 大埔县| 江津市|