Scoop
scoop是可用于windows的一款包管理工具,在这记录一下安装过程
前提: 打开 Windows PowerShell
1、修改C:\Windows\System32\drivers\etc\hosts
文件
C:\Windows\System32\drivers\etc\hosts
文件由于raw.githubusercontent.com
无法连接,所以需要设置本地虚拟域名 可通过 IPAddress
查询到 raw.githubusercontent.com
的ip
是 199.232.68.133 在 hosts文件中添加以下内容
199.232.28.133 raw.githubusercontent.com
2、打开 powershell
,然后输入以下代码
powershell
,然后输入以下代码如果不执行以上面的指令, 在安装的时候会提示
3、安装 Scoop
Scoop
执行 iex (new-object net.webclient).downloadstring('https://raw.githubusercontent.com/lukesampson/scoop/master/bin/install.ps1')
最后更新于