Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Scoop

install

1 2 3

Set-ExecutionPolicy ByPass -Scope Process -Force
# If scoop installed or need installing second scoop (into a NTFS mount), 
# Remove any `scoop` in PATH and Modify following two in ENV. Until the installation is complete.
$env:SCOOP='<path_to>\Scoop'
$env:SCOOP_GLOBAL='<path_to>\Scoop'
[Environment]::SetEnvironmentVariable('SCOOP_GLOBAL', $env:SCOOP_GLOBAL, 'Machine')
Get-ChildItem Env:
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"

Or Download Source code (zip) from Releases.

set SCOOP_PORTABLE=U:\Usr\Scoop
mkdir -p %SCOOP_PORTABLE%\apps\scoop
unzip "<path_to>\Scoop-0.5.3.zip"
mv <path_to>\Scoop-0.5.3 %SCOOP_PORTABLE%\apps\scoop\current
git clone --depth=1 https://github.com/ScoopInstaller/Main %SCOOP_PORTABLE%\buckets\main
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"

usage

# Install pkg
# scoop update innounp
scoop install <pkg>
scoop install https://raw.githubusercontent.com/Calinou/scoop-games/refs/heads/master/bucket/doukutsu-rs.json
# Clean up old installed version
scoop cleanup *
# Only download pkg files
scoop download <pkg>
# Show local pkg files
scoop cache show

Update scoop

scoop update scoop

Or4:

cd <path_to>\Scoop\apps\scoop\current
git fetch
git pull

Add bucket

scoop bucket add extras
scoop bucket add nonportable
scoop bucket add nirsoft
scoop bucket add versions
scoop bucket add java

Or:

cd <path_to>\Scoop\buckets
# git clone --depth=1 https://github.com/ScoopInstaller/Main
git clone --depth=1 https://github.com/ScoopInstaller/Extras
git clone --depth=1 https://github.com/ScoopInstaller/Nonportable
git clone --depth=1 https://github.com/kodybrown/scoop-nirsoft
git clone --depth=1 https://github.com/ScoopInstaller/Versions
git clone --depth=1 https://github.com/ScoopInstaller/Java

reference

cross-reference

mark

cache

resource

mark

cache


  1. Scoop (un)installer

  2. CMD.exe wrapper

  3. About the Download Directory

  4. scoop update fails to connect to GitHub