Windows 程序员包安装器

像linux一样 apt-get 或者 yum

在windows也有包安装器

https://chocolatey.org/

打开powershell

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')
SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

或者

https://scoop.sh/

打开powershell

在 PowerShell 中输入下面内容,保证允许本地脚本的执行:

set-executionpolicy remotesigned -scope currentuser

然后执行下面语句进行安装:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

比如安装

scoop install curl
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注