scoop是什么奠旺,有什么優(yōu)點(diǎn)
scoop是windows7+系統(tǒng)里的軟件倉庫订框,收錄了2000+的知名軟件,不需要管理員權(quán)限就可以安裝竣灌,有cli坯台,也有g(shù)ui程序炬丸,缺點(diǎn)是國外開發(fā),大部分軟件都在github上蜒蕾,下載比較慢稠炬,下邊講一下如何簡單安裝和修改
打開powershell權(quán)限
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
下載安裝腳本
irm get.scoop.sh -outfile 'install.ps1'
指定安裝目錄
env:SCOOP_GLOBAL='F:\GlobalScoopApps'
查看有哪些repo
scoop bucket known
PS D:\> scoop bucket known
main
extras
versions
nirsoft
sysinternals
php
nerd-fonts
nonportable
java
games
添加或啟用bucket
main
scoop bucket add main https://codechina.csdn.net/mirrors/ScoopInstaller/Main.git
如果不加后邊的https地址,就是用官方的地址
配置軟件下載加速
用vscode打開 D:\Applications\Scoop\buckets\extras 目錄
查找替換(注意啟用正則模式)
(https://github.com.*?zip)
替換
https://ghproxy.com/$1
全量替換咪啡,然后scoop install <app> 的時(shí)候首启,下載速度就很快了