I love Linux Sytems for several reasons. One of them was always the ability to install programs you need right from the command line.

You just have to type apt install hugo to install Hugo Package

As I am currently using Microsoft Windows, I thought it would be cool to have that ability baked into my setup.

Enter Scoop!

  • It gives you the same ability right in your Windows PC.

Even though there are alternatives out there, the thing which made me love Scoop over others was The ability to Install tools without the UAC popup in Windows.

Scoop make this possible by installing the binaries in your home folder and adding the directory to the path.

After following this tutorial, You’ll only have to change apt to scoop

Installation

  • Open your Powershell and type,

    Set-ExecutionPolicy RemoteSigned -scope CurrentUser
    

This is for Changing Execution policy to avoid any possible error as stated by their instructions. ( also because I really got one πŸ˜‰)

  • Then to Install, type
    iwr -useb get.scoop.sh | iex
    

    installing Scoop Voila! you completed the Installation.

Using

After Installing it, it is pretty easy to install most of the common command-line tools

for example, to install aria2, a common command-line download manager, you just have to enter scoop install aria2 Installing Aria2

The coolest thing is that, you can even get the great sudo command in your cmd with this tiny tool.

scoop install sudo

Installing sudo

After this you can run any command as admininstrator without reopening πŸ™„ the cmd as administrator.

Example: Installing Neovim Globally

sudo scoop install -g neovim

As you must have expected, this really asks for a UAC Popup, because it is not just accesing the home directory.

Installing Neovim Globally

Uninstallation

No tool is for everyone. So, in a rare case you didn’t like this, uninstallation is a lot simple than installation.
All you wanna do is to type,

scoop uninstall scoop

Scoop Uninstallation and you’re done.