Having been used to the convenience of using Homebrew to install software packages on Mac, I recently installed a Windows system on my company’s computer and wanted to set it up similarly. The solution is Scoop, which I am recommending today.
Scoop is an open-source project that primarily uses commands to install Windows software packages. It effectively avoids permission pop-ups, hides GUI wizard installations, automatically finds and installs dependencies, and automates the installation process.
Additionally, Scoop packages can be part of a git repository, commonly referred to as buckets. You can view these buckets on GitHub at https://scoop.sh/#/buckets. You can also easily create your own buckets.
Environment Preparation
Windows 10 Pro 19044.1586
Latest version of PowerShell or Windows PowerShell 5.1
The PowerShell execution policy must be one of the following: Unrestricted, RemoteSigned, or ByPass.
Installing Scoop
Run this command from a non-admin PowerShell to install Scoop with the default configuration. Scoop will be installed in C:\Users\<YOUR USERNAME>\scoop.
During installation, you may be prompted to change the policy:
PS C:\Users\wnote> iwr -useb get.scoop.sh | iex
Initializing...
PowerShell requires an execution policy in [Unrestricted, RemoteSigned, ByPass] to run Scoop. For example, to set the execution policy to 'RemoteSigned' please run 'Set-ExecutionPolicy RemoteSigned -Scope CurrentUser'.
Abort.
PS C:\Users\wnote> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Execution Policy Change
The execution policy helps prevent running untrusted scripts. Changing the execution policy might expose you to security risks. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170Do you want to change the execution policy?
[Y] Yes(Y)[A] Yes to All(A)[N] No(N)[L] No to All(L)[S] Suspend(S)[?] Help (default is "N"): Y
PS C:\Users\tarena> iwr -useb get.scoop.sh | iex
Initializing...
Downloading ...
Creating shim...
Adding ~\scoop\shims to your path.
Scoop was installed successfully!
Type 'scoop help'for instructions.
PS C:\Users\tarena> scoop update
Updating Scoop...
Updating 'main' bucket...
Scoop was updated successfully!
If your network cannot connect to the official address, you can add a proxy: