Windows

How to Install Scoop on Windows

In this post, we will quickly go over how you can quickly install and configure Scoop package manager on Windows in easy steps.
Captain Salem 4 min read
How to Install Scoop on Windows

Windows

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.

Requirements

  1. Windows 10 and above.
  2. Administrative permissions.
  3. 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 RemoteSigned.

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

The 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.

Output:

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:

scoop update

This should update the scoop index.

Conclusion

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.

How to install Windows Package Manager
Discover how you can setup and use the winget package manager on your Windows system.
How to Install Windows Terminal Using PowerShell Add-AppxPackage Command
In this tutorial, you will learn how you can use the PowerShell Add-AppxPackage command to install the Windows Terminal using the msixbundle.
How to Install Ruby on Windows 11: 3 Main Methods
In this tutorial, we will learn how to set up the latest version of Ruby interpreter on Windows 11 using various methods.

If you enjoy our content, please consider buying us a coffee to support our work:

Share
Comments
More from GeekBits

Join us at GeekBits

Join our members and get a currated list of awesome articles each month.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to GeekBits.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.