自学内容网 自学内容网

windows scoop的安装

scoop设置镜像源

scoop config SCOOP_REPO https://mirrors.tuna.tsinghua.edu.cn/scoop/

scoop可以轻松安装windows上的一些工具利用简单的scoop install xxx
转自 xoxome.online
scoop下载
通过网盘分享的文件:Scoop-0.5.2.zip
链接: https://pan.baidu.com/s/1aDxEVms0fojcIb3a8nvRgQ?pwd=ix36 提取码: ix36

win11按照github普通安装方式会报错:
Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.

那么我们使用管理员方式强制安装,进入下载解压好的scoop/bin目录允许powershell
然后:

For Admin
Installation under the administrator console has been disabled by default for security considerations. If you know what you are doing and want to install Scoop as administrator. Please download the installer and manually execute it with the -RunAsAdmin parameter in an elevated console. Here is the example:

执行下面命令安装即可


irm get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin [-OtherParameters ...]
# I don't care about other parameters and want a one-line command
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"

原文地址:https://blog.csdn.net/yangshuo1281/article/details/145233937

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!