windows下使用Chocolatey安装make

2024-11-08T16:28:41

第一步 安装Chocolatey

用管理员打开powershell
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'))
用管理员打开命令提示符 (可选)
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile `
-InputFormat None -ExecutionPolicy Bypass -Command "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'))" `
&& SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

第二步 安装make

choco install make
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »