Features | Installation | Documentation
Scoop is a command-line installer for Windows.
scoop config SCOOP_REPO https://gitee.com/squallliu/scoop
scoop update
Scoop installs programs from the command line with a minimal amount of friction. It:
Scoop is very scriptable, so you can run repeatable setups to get your environment just the way you like, e.g.:
scoop install sudo
sudo scoop install 7zip git openssh --global
scoop install aria2 curl grep sed less touch
scoop install python ruby go perl
If you've built software that you'd like others to use, Scoop is an alternative to building an installer (e.g. MSI or InnoSetup) — you just need to zip your program and provide a JSON manifest that describes how to install it.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Run the following command from your PowerShell to install scoop to its default location (C:\Users\<user>\scoop
)
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# or shorter
iwr -useb get.scoop.sh | iex
Once installed, run scoop help
for instructions.
The default setup is configured so all user installed programs and Scoop itself live in C:\Users\<user>\scoop
.
Globally installed programs (--global
) live in C:\ProgramData\scoop
.
These settings can be changed through environment variables.
SCOOP
$env:SCOOP='D:\Applications\Scoop'
[Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User')
# run the installer
SCOOP_GLOBAL
$env:SCOOP_GLOBAL='F:\GlobalScoopApps'
[Environment]::SetEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine')
# run the installer
SCOOP_CACHE
$env:SCOOP_CACHE='F:\ScoopCache'
[Environment]::SetEnvironmentVariable('SCOOP_CACHE', $env:SCOOP_CACHE, 'Machine')
# run the installer
SCOOP_CHECKVER_TOKEN
$env:SCOOP_CHECKVER_TOKEN='<paste-token-here>'
[Environment]::SetEnvironmentVariable('SCOOP_CHECKVER_TOKEN', $env:SCOOP_CHECKVER_TOKEN, 'Machine')
# search for an app
aria2
Scoop can utilize aria2
to use multi-connection downloads. Simply install aria2
through Scoop and it will be used for all downloads afterward.
scoop install aria2
By default, scoop
displays a warning when running scoop install
or scoop update
while aria2
is enabled. This warning can be suppressed by running scoop config aria2-warning-enabled false
.
You can tweak the following aria2
settings with the scoop config
command:
The apps that install best with Scoop are commonly called "portable" apps: i.e. compressed program files that run stand-alone when extracted and don't have side-effects like changing the registry or putting files outside the program directory.
Since installers are common, Scoop supports them too (and their uninstallers).
Scoop is also great at handling single-file programs and Powershell scripts. These don't even need to be compressed. See the runat package for an example: it's really just a GitHub gist.
If you'd like to improve Scoop by adding features or fixing bugs, please read our Contributing Guide.
If you find Scoop useful and would like to support ongoing development and maintenance, here's how:
The following buckets are known to scoop:
The main bucket is installed by default. To add any of the other buckets, type:
scoop bucket add bucketname
For example, to add the extras bucket, type:
scoop bucket add extras
Many other application buckets hosted on Github can be found in the Scoop Directory or via other search engines.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。