Skip to content

Scoop

scoop is a command-line install for Windows, it's very close to APT on Linux if you know it. With this tool, you can install easily many packages directly from your PowerShell terminal, check scoop.sh to get more informations.

  • Packages are installed in your User directory by default (but you can modify it): C:\Users\username\scoop
  • Find all applications directly in startup menu
  • If package need to have specific path, scoop will create it, for example if you install mysql with scoop you will can use mysql in PowerShell terminal to access to MySQL CLI (and same for NPM, Yarn, PHP, Python, Flutter, Rust...).
  • A package uninstalled will remove path config to avoid conflicts
  • Update all packages with one command
  • Get last versions of your favorites languages
  • Get multiple versions of same language (if scoop offer it): PHP, Java...

Installation

Use Windows + X to open menu and select Windows PowerShell (Admin), you will have blue window and you can install scoop now

ps1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
ps1
Set-ExecutionPolicy RemoteSigned -scope CurrentUser ; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

Install sudo to have admin right with regular PowerShell

ps1
scoop install sudo
PowerShell-Admin

Now, you can open regular PowerShell window (you can find it with Windows + X) and try to install curl

ps1
scoop install curl
ps1
sudo scoop install curl

Usage

scoop offers a wide range of packages, if you want to find one, just use scoop search

ps1
scoop search git

And output give you some info about packages with this name, package version and bucket.

'extras' bucket:
    deepgit (4.0.2)
    gcloud (317.0.0) --> includes 'git-credential-gcloud.cmd'
    gitahead (2.6.3)
    ...

'main' bucket:
    ...
    git (2.29.2.windows.1)
    ...

If I just want git, I will install git (2.29.2.windows.1) from main bucket with scoop install git

Bucket

A bucket is a specific repository for some packages, when you install scoop you have by default main bucket but you can add more buckets to get more packages. With scoop search, you will see bucket of each package. For example, if you want to install windows-terminal package, you need to have extras bucket, you can add it with scoop bucket add extras and you will able to install windows-terminal with sudo scoop install windows-terminal. Try to search scoop search windows-terminal and you will see!

Search results:

ps1
'extras' bucket:
    windows-terminal (1.3.2651.0)
output

Add extras bucket:

ps1
scoop bucket add extras

Install windows-terminal, a modern terminal for Windows:

ps1
scoop install windows-terminal

Uninstall

You can easily uninstall any package

ps1
scoop uninstall curl

List

To list all installed packages with bucket

ps1
scoop list

Status

To know scoop status

ps1
scoop status

Update

ps1
scoop update
ps1
scoop update *
ps1
scoop update curl

Packages

You can find many package with scoop, you can see below just some examples:

Tools

PackageBucketAboutLink
7zipmainmain7-zip.org
curlmainmaincurl.se
git or git-with-opensshmainmaingit-scm.com
grepmainmainman7.org
ffmpegmainmainffmpeg.org
makemainmaingnu.org
sudomainmainsudo.ws
touchmainmainman7.org
vimmainmainvim.org
whichmainmaingnuwin32.sourceforge.net
windows-terminalmainmaingithub.com/microsoft/terminal
wgetmainmaingnu.org
youtube-dlmainmainyoutube-dl.org
  • oh-my-posh
    • scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json

Development

PackageBucketAboutLink
adbmain
android-sdkextras
bitmain
cacertmain
composermain
doctlmain
dockermain
docker-composemain
glowmain
fluttermain
mysqlmain
nginxmain
ngrokmain
nssmmain
nvmmain
pandocmain
pythonmain
rustmain
obsidianextras
symfony-climain
yarnmain

PHP

More informations about switch between versions and configurations: documentation/development/operating-systems/windows/php

PackageBucketAboutLink
php-ntsmain
php7.3-ntsphp
php7.4-ntsphp

Softwares

Install softwares with scoop

Some software use internal auto-update which can create some conflicts. For example, with vscode, I stop to install it with scoop because update not work properly.

PackageBucketAboutLink
android-studioextras
discordextras
firefoxextras
gimpextras
googlechromeextras
mp3tagextras
phpstormjetbrains
postmanextras
rufusextras
vlcextras
vscodeextras

Fonts

PackageBucketAboutLink
Cascadia-Codenerd-fonts
firacodenerd-fonts
Meslo-NFnerd-fonts
Victor-Mononerd-fonts

Troubles

scoop update: fast-forward not possible

ps1
cd C:\Users\USERNAME\scoop\bucket\main
ps1
git reset --hard origin/master
ps1
scoop update

MIT License