Chocolatey Window设计的包管理器

Chocolatey Window设计的包管理器

Chocolatey Windows设计的包管理器,有了它,你也可以

Git Bash/Shell
1
choco install docker

Why Chocolatey

安装

  • Windows 7+ / Windows Server 2003+
  • PowerShell v2+ (minimum is v3 for install from this website due to TLS 1.2 requirement)
  • .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)(minimum is 4.5 for install from this website due to TLS 1.2 requirement)

只要你的系统在Win7以上就可以了,打开开始菜单,右键以管理员身份运行PowerShell,然后粘贴以下命令

Git Bash/Shell
1
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Installing Chocolatey

检查是否安装成功

Git Bash/Shell
1
choco

安装一个应用

deno为例

Git Bash/Shell
1
choco install deno

一些命令

  1. 安装choco install deno
  2. 升级choco upgrade deno
  3. 卸载choco uninstall deno
  4. 搜索choco search deno
  5. 查看已安装的包choco list -lo

Chocolatey docs

Something wrong with this article? Click here to submit your revision.

Vector Landscape Vectors by Vecteezy

作者

blacklisten

发布于

2020-05-11

许可协议

CC BY-NC-SA 4.0

评论

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×