windows下使用Chocolatey安装make

第一步 安装Chocolatey

用管理员打开powershell
  1. Set-ExecutionPolicy Bypass -Scope Process -Force; `
  2. [System.Net.ServicePointManager]::SecurityProtocol = `
  3. [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
  4. iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
用管理员打开命令提示符 (可选)
  1. @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile `
  2. -InputFormat None -ExecutionPolicy Bypass -Command "Set-ExecutionPolicy Bypass `
  3. -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = `
  4. [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object `
  5. System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" `
  6. && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

第二步 安装make

  1. choco install make
添加新评论