Scoop is a tool that enables installing and managing software packages on Windows systems using the Scoop package manager.
Scoop is implemented as a PowerShell module and relies on a set of PowerShell commands to install, update, and manage software packages. It uses a file-based approach to package management, where packages are downloaded from the internet and installed into a specific directory structure on the local system.
The main benefit of using SCOOP is the ability to easily install and manage software packages without manually downloading and installing each package. It also supports automatically updating packages, keeping software up-to-date with the latest versions easier.
- Windows 10 and above.
- Administrative permissions.
- Access to Windows PowerShell version 5.1 and later
Step 1 - Change PowerShell Execution Policy
The first step is to change the PowerShell Execution policy. Run Windows PowerShell and run the command shown below:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
The command above sets the execution policy for the current user on the current machine to
The execution policy determines the level of security for executing PowerShell scripts and configuration files on a machine. The
RemoteSigned execution policy allows scripts and configuration files that are locally created to run on the machine but requires any remotely created scripts or configuration files to be signed by a trusted publisher before they can be executed.
Step 2 - Install Scoop
Once you have updated the Execution Policy of PowerShell scripts, run the command below to download and install Scoop on your local machine.
irm get.scoop.sh | iex
irm command, short for
Invoke-RestMethod, is used to make a web request to the specified URL and retrieve the script's contents. The contents of the script are then piped to the
iex command, short for
Invoke-Expression, which executes the script.
In this case, the command will download an installer script from
get.scoop.sh. The script will then install the Scoop package manager on your machine.
Initializing... Downloading ... Extracting... Creating shim... Adding ~\scoop\shims to your path. Scoop was installed successfully! Type 'scoop help' for instructions.
Step 3 - Installing Git
Before you can install packages using Scoop, it is good to ensure you have Git installed. You can run the command:
scoop install git
The command above should use scoop and install git on your machine. An example output is as shown below:
Installing '7zip' (22.01) [64bit] from main bucket 7z2201-x64.msi (1.8 MB) [=====================================================================================] 100% Checking hash of 7z2201-x64.msi ... ok. Extracting 7z2201-x64.msi ... done. Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\22.01 Creating shim for '7z'. Creating shim for '7zFM'. Creating shim for '7zG'. Creating shortcut for 7-Zip (7zFM.exe) Persisting Codecs Persisting Formats Running post_install script... '7zip' (22.01) was installed successfully! Notes ----- Add 7-Zip as a context menu option by running: "C:\Users\Sepiol Sam\scoop\apps\7zip\current\install-context.reg" Installing 'git' (2.40.0.windows.1) [64bit] from main bucket PortableGit-2.40.0-64-bit.7z.exe (46.8 MB) [==================================================================] 100% Checking hash of PortableGit-2.40.0-64-bit.7z.exe ... ok. Extracting dl.7z ... done. Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.40.0.windows.1 Creating shim for 'sh'. Creating shim for 'bash'.
Once installed, you can update scoop with the command:
This should update the scoop index.
In this post, you discovered how to quickly configure and install Scoop Package Manager on Windows using a simple command.
We hope you enjoyed this tutorial. Please feel free to leave us a comment below and share to help us. You can also support our work in the link below:
Other Stuff You Might Like
We also thought you might enjoy these tutorials.