windows下package管理工具

The Chocolatey package manager provides an easy way to install the required build tools. Chocolatey can be installed by following theseinstructions.

使用windows自带window power(版本在7.0以上)安装:

  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://community.chocolatey.org/install.ps1'))

装完后,可以安装各种工具:

  1. C:\Windows\system32> choco install git
  2. C:\Windows\system32> choco install golang
  3. C:\Windows\system32> choco install mingw