scoop安装
程序员文章站
2022-05-29 22:46:36
...
1.安装 scoop
powershell 输入
配置默认安装目录,以及程序安装目录
设置环境变量,管理员powershell ,或直接设置里添加环境变量
$env:SCOOP='D:\Scoop'
[Environment]::SetEnvironmentVariable('SCOOP',$env:SCOOP,'User')
$env:SCOOP_GLOBAL='D:\ScoopApps'
[Environment]::SetEnvironmentVariable('SCOOP_GLOBAL',$env:SCOOP_GLOBAL,'Machine')
set-executionpolicy remotesigned -scope currentuser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
安装完成 。
操作
scoop help
scoop list
scoop install aria2
scoop bucket add <仓库名 > <仓库地址(github)>
scoop bucket known
scoop bucket add extras
scoop install appname
scoop uninstall appname
scoop updade appname
启用aria2出问题 时, 可以禁用aria2
scoop config aria2-enabled false