Fork me on GitHub

国内环境的scoop 安装

Powershell 7 安装的,普通用户和管理员安装路径不同,普通用户是默认安装在自己的路径下的,我的是win10用户目录Lenovo下。可以用来安装一些linux或者mac下好的应用,比如helix,直接github下载win64版本运行不了,用scoop就很方便了。

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

irm get.scoop.sh -outfile 'install.ps1'

.\install.ps1 -RunAsAdmin 

验证是否成功

scoop help

更改为国内的源

scoop config SCOOP_REPO 'https://gitee.com/glsnames/scoop-installer'

添加国内的bucket仓库

scoop bucket add extras https://gitee.com/scoop-bucket/extras

更新scoop

scoop update

参考:

更深入的文章:https://www.pudn.com/news/627d3e5aebb030486ddb0543.html

posted @ 2023-01-21 23:30  Cloudhan  阅读(812)  评论(0编辑  收藏  举报