Install

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.

Why install packages with scoop ?
  • 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...

Setup scoop

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

PowerShell-Admin
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

PowerShell-Admin
scoop install sudo

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

PowerShell
sudo scoop install curl

Usage

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

PowerShell
scoop search git

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

Output
'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 sudo 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!

Output
'extras' bucket:
    windows-terminal (1.3.2651.0)
PowerShell
scoop bucket add extras
PowerShell
sudo scoop install windows-terminal

Uninstall

You can easily uninstall any package

PowerShell
scoop uninstall curl

List

To list all installed packages with bucket

PowerShell
scoop list

Update

To know scoop status

PowerShell
scoop status

To update scoop itself

PowerShell
scoop update

To update all packages installed

PowerShell
scoop update *

To update specific package

PowerShell
scoop update curl

Examples

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