Windows包管理器——Scoop 包管理器
Scoop 包管理器
參考
官方
//scoop.sh/ (介紹)
//github.com/lukesampson/scoop/wiki/Uninstalling-Scoop (卸載)
部落格
//sspai.com/post/52496 (「一行程式碼」搞定軟體安裝卸載,用 Scoop 管理你的 Windows 軟體)
//hackettyu.com/2020-05-07-windows-scoop/ (Windows 下使用 Scoop 工具安裝環境以及管理各種軟體)
//www.xerrors.fun/scoop-list/#_4-常用軟體清單 (Scoop 安裝以及常用軟體清單)
//github.com/KNOXDEV/scoop-backup (備份相關)
//blog.csdn.net/jinhaijing/article/details/85004126 (Win10系統PowerShell執行.ps1文件)
聲明
環境是 Windows 10(Windows 7 已上都可以使用);
文章主要內容為 常用操作記錄,不會過多涉及 Scoop 管理相關的概念。
目錄
- 安裝( 使用 powershell)
- 卸載(軟體的使用權歸自己所有,一言不合即卸載)
- 使用教程
- scoop 推薦設置
scoop 安裝&&卸載
安裝( 使用 powershell)
-
在 PowerShell 中輸入下面內容,保證允許本地腳本的執行:(僅第一次安裝前需要執行)
set-executionpolicy remotesigned -scope currentuser
-
然後執行下面的命令安裝 Scoop:(稍微卡頓一些,等等就好)
iex (new-object net.webclient).downloadstring('//get.scoop.sh')
安裝位置說明
卸載(軟體的使用權歸自己所有,一言不合即卸載)
注意: scoop 管理的軟體都會卸載!!!
scoop uninstall scoop
手動刪除 scoop 文件(當前用戶目錄下,同安裝目錄)
scoop 使用教程
help 查看支援的命令
scoop help
軟體管理實戰
查找軟體
scoop search xxx軟體包
安裝軟體
scoop install xxx軟體包
卸載軟體
scoop uninstall xxx軟體
查看軟體
-
查看軟體官方頁
scoop home xxx軟體
-
查看軟體詳情
-
查看安裝的軟體列表
scoop list
更新軟體
scoop update
查看軟體列表
scoop export >> xxx.txt
(第三方)導出備份文件(ps 格式)power shell 格式
scoop-backup 指定目錄
(第三方)從備份列表中還原
用 power shell 執行
./backup-210314.ps1
推薦配置
bucket 管理
查看 官方支援的 bucket
scoop bucket known
查看 bucket 命令幫助
scoop bucket help
添加 bucket
scoop bucket add xxxbucket
刪除 bukcet
scoop bucket rm xxx倉庫
代理設置——目的:速度優化(難受的牆)TODO
scoop config proxy 127.0.0.1:10809
推薦軟體列表
-
aria2 下載器
介紹 :TODO
用戶體驗
- 卡卡卡,當然心裡知道就好,不是軟體的錯,是qiang 。
- TODO
附錄
常用命令說明
alias Manage scoop aliases # 管理指令的替身
bucket Manage Scoop buckets # 管理軟體倉庫
cache Show or clear the download cache # 查看與管理快取
checkup Check for potential problems # 做個體檢
cleanup Cleanup apps by removing old versions # 清理快取與舊版本軟體包
config Get or set configuration values # 配置Scoop
create Create a custom app manifest # 創建自定義軟體包
depends List dependencies for an app # 查看依賴
export Exports (an importable) list of installed apps # 導出軟體包列表
help Show help for a command # 顯示幫助指令
hold Hold an app to disable updates # 禁止軟體包更新
home Opens the app homepage # 打開軟體包主頁
info Display information about an app # 顯示軟體包資訊
install Install apps # 安裝軟體包的指令
list List installed apps # 列出所有已安裝軟體包
prefix Returns the path to the specified app # 查看軟體包路徑
reset Reset an app to resolve conflicts # 恢復軟體包版本
search Search available apps # 搜索軟體包
status Show status and check for new app versions # 查看軟體包更新狀態
unhold Unhold an app to enable updates # 啟動軟體包更新
uninstall Uninstall an app # 卸載軟體包的指令
update Update apps, or Scoop itself # 更新軟體包
virustotal Look for app hash on virustotal.com # 查看哈希值
which Locate a shim/executable (similar to 'which' on Linux) # 查看可執行程式路徑