scoop - command line installer
Install Windows software from the command line

Search for a command to run...
Install Windows software from the command line

No comments yet. Be the first to comment.
Install your favorite software without the hassle

Storing your users' passwords securely is critical. But still, you can find code like $hash=md5($_GET['password']) in many code bases. So, what's wrong about it? Using md5 to hash passwords While it's good to see use of a hash in the code - instead o...
![What's wrong with md5($_GET['password'])?](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1610707270655%2FuxiRAU36B.png&w=3840&q=75)
When developing a web application, you often have to store user-generated entities such as user profiles, photos, posts and videos. Chances are you store them in a database, using an integer ID, generated by a sequence. So, for example, each newly po...

If you are familiar with Linux, you certainly came across the various software installers like apt or yum.
They allow you to effortlessly install, update and remove applications, games, libraries and other software, with very short and concise commands like:
sudo apt install curl
That's all you need to install curl - the popular "command line tool and library for transferring data with URLs" on Linux.
On Windows, things are different: to install a new tool, you normally have to open your browser, find the app's homepage on the internet, download it and run the installer, which in turn looks and feels different for every piece of software.
The command line interface is much less popular than on Linux, most software is installed via graphical UIs.
Updating is even worse: each application has its own way to update itself - if any. So, you have to first find such a feature, which often means to first start up the software itself.
But there is an easier way:
scoop is a command line installer for Windows, which works quite similar to apt on Linux.
Once installed, installing software becomes straightforward. Similar to the example above, this is how you would install curl on Windows using scoop:
scoop install curl
To once install scoop itself, open the PowerShell and run:
iwr -useb get.scoop.sh | iex
To install scoop (and the tools you get using it) to a custom directory or change other options, please refer to the documentation.
Once installed, use
scoop install <package>
to install new software packages, like curl, 7zip, restic and many others.
To update existing software, just run:
scoop update <package>
while
scoop uninstall <package>
allows you to remove software you don't need anymore.
While I personally like scoop the most, there are various tools which work quite similar and better suit your taste:
Another great tool to install your favorite set of software is ninite. It allows you to choose multiple applications from a collection of popular software found on the internet and create a single installer, which installs all of them at once silently, without any further clicks.