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 usemysql
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
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
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
scoop install sudo
Now, you can open regular PowerShell window (you can find it with Windows + X) and try to install curl
scoop install curl
sudo scoop install curl
Usage
Search
scoop offers a wide range of packages, if you want to find one, just use scoop search
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:
'extras' bucket:
windows-terminal (1.3.2651.0)
Add extras bucket:
scoop bucket add extras
Install windows-terminal
, a modern terminal for Windows:
scoop install windows-terminal
Uninstall
You can easily uninstall any package
scoop uninstall curl
List
To list all installed packages with bucket
scoop list
Status
To know scoop status
scoop status
Update
scoop update
scoop update *
scoop update curl
Packages
You can find many package with scoop, you can see below just some examples:
Tools
Package | Bucket | About | Link |
---|---|---|---|
7zip | main | main | 7-zip.org |
curl | main | main | curl.se |
git or git-with-openssh | main | main | git-scm.com |
grep | main | main | man7.org |
ffmpeg | main | main | ffmpeg.org |
make | main | main | gnu.org |
sudo | main | main | sudo.ws |
touch | main | main | man7.org |
vim | main | main | vim.org |
which | main | main | gnuwin32.sourceforge.net |
windows-terminal | main | main | github.com/microsoft/terminal |
wget | main | main | gnu.org |
youtube-dl | main | main | youtube-dl.org |
- oh-my-posh
scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json
Development
Package | Bucket | About | Link |
---|---|---|---|
adb | main | ||
android-sdk | extras | ||
bit | main | ||
cacert | main | ||
composer | main | ||
doctl | main | ||
docker | main | ||
docker-compose | main | ||
glow | main | ||
flutter | main | ||
mysql | main | ||
nginx | main | ||
ngrok | main | ||
nssm | main | ||
nvm | main | ||
pandoc | main | ||
python | main | ||
rust | main | ||
obsidian | extras | ||
symfony-cli | main | ||
yarn | main |
PHP
More informations about switch between versions and configurations: documentation/development/operating-systems/windows/php
Package | Bucket | About | Link |
---|---|---|---|
php-nts | main | ||
php7.3-nts | php | ||
php7.4-nts | php |
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.
Package | Bucket | About | Link |
---|---|---|---|
android-studio | extras | ||
discord | extras | ||
firefox | extras | ||
gimp | extras | ||
googlechrome | extras | ||
mp3tag | extras | ||
phpstorm | jetbrains | ||
postman | extras | ||
rufus | extras | ||
vlc | extras | ||
vscode | extras |
Fonts
Package | Bucket | About | Link |
---|---|---|---|
Cascadia-Code | nerd-fonts | ||
firacode | nerd-fonts | ||
Meslo-NF | nerd-fonts | ||
Victor-Mono | nerd-fonts |
Troubles
scoop update: fast-forward not possible
cd C:\Users\USERNAME\scoop\bucket\main
git reset --hard origin/master
scoop update