tiddlers: Scoop在windows上的包管理工具
This data as json
title | meta | text | revision |
---|---|---|---|
Scoop在windows上的包管理工具 | {"created": "20230504030500271", "creator": "root", "tags": ["windows", "scoop"], "title": "Scoop\u5728windows\u4e0a\u7684\u5305\u7ba1\u7406\u5de5\u5177", "modified": "20230505063624688", "modifier": "root", "type": "text/vnd.tiddlywiki", "revision": "7"} | 在 PowerShell 中执行 ``` $env:SCOOP='D:\Program_Files\scoop' [Environment]::SetEnvironmentVariable('SCOOP',$env:SCOOP,'User') $env:SCOOP_GLOBAL='D:\Program_Files\scoop-apps' [Environment]::SetEnvironmentVariable('SCOOP_GLOBAL',$env:SCOOP_GLOBAL,'User') irm get.scoop.sh | iex ``` 前两行设置 scoop 本身的安装位置,3~4 行设置 scoop 安装的包的位置,最后一行安装 scoop。 注意:所指定的路径必须存在,若不存在应手动创建,运行 PowerShell(非管理员身份)。 使用: ``` scoop help Usage: scoop <command> [<args>] Available commands are listed below. Type 'scoop help <command>' to get more help for a specific command. Command Summary ------- ------- alias Manage scoop aliases bucket Manage Scoop buckets cache Show or clear the download cache cat Show content of specified manifest. checkup Check for potential problems cleanup Cleanup apps by removing old versions config Get or set configuration values create Create a custom app manifest depends List dependencies for an app, in the order they'll be installed download Download apps in the cache folder and verify hashes export Exports installed apps, buckets (and optionally configs) in JSON format help Show help for a command hold Hold an app to disable updates home Opens the app homepage import Imports apps, buckets and configs from a Scoopfile in JSON format 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 shim Manipulate Scoop shims 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's hash or url on virustotal.com which Locate a shim/executable (similar to 'which' on Linux) ``` 安装扩展包 ``` scoop bucket add main scoop bucket add extras ``` | 8 |