The powerful package management tool Scoop under Windows, install the software with one command

Every time a computer system is reinstalled, a bunch of software configuration development environments have to be reinstalled, and too much time is wasted on these meaningless repetitive tasks.
There is apt-get on Ubuntu and Homebrew on Macos. These are good package management tools. Usually one line of command is enough to install common software.
So is there a similar package management tool for windows, he came today.
Scoop, a powerful package management tool under Windows, installs common development tools with one command.

Install Scoop

Installation conditions

PS: Now the computer of win10 can generally be satisfied, if you can't meet it, use Yisheng to upgrade the version of win10 system.

PowerShell input command installation

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
iwr -useb get.scoop.sh | iex

After the installation is successful, use scoop list to get the following prompt

Change the default software address of Scoop

By default, the scoop software is placed in the C:\Users{your user name}\scoop directory, here to prevent the C drive from occupying the C drive too much, I moved it to the D:\Scoop directory. Just use the following command:

$env:SCOOP='D:\Scoop'
[Environment]::SetEnvironmentVariable('SCOOP', $env:SCOOP, 'User')

Note that at this time, move the original scoop program from the C:\Users{your user name}\scoop directory to your custom directory:
[External link image transfer failed, the source site may have an anti-leech link mechanism, it is recommended Save the picture and upload it directly (img-oQlbbP5E-1599095100626)(https://www.codehome.vip/wp-content/uploads/2020/09/wp_editor_md_a1834eb0453e9d33bb6c69d0e8cb3dd2.jpg)]

Basic operation

Now you can use scoop to install the software happily.

Search software

scoop search 软件名称

install software

scoop install 软件名称

View installed software

scoop list

Uninstall software

scoop uninstall 软件名称

View software installation information

scoop info 软件名称

Use aria2 to speed up downloads

If aria2 is installed, scoop uses aria2 multi-threaded download by default to improve the installation speed

scoop install aria2

Add a third-party warehouse

Scoop is very powerful, but the number of software in Scoop's default software warehouse (main bucket) is limited. Therefore, we also provide us with a lot of buckets that can be used directly, just to facilitate us to install more common software with GUI. One of the most common buckets that I recommend everyone to add is extras, which basically covers what we are familiar with: all versions of Firefox, Foxit Reader, Geek Uninstaller, Inkscape, Snipaste, etc.

scoop bucket add extras

Then you can use scoop to install more other software under the extras warehouse, such as the screenToGif recording gif software that I commonly use when writing blogs, with one line of command.

scoop install screentogif

I believe everyone can master the use of scoop through the actual operation of the above tutorial, I believe you will love this tool.
This is the first article in a series of geek tools, and then I will recommend the tools that I choose from time to time that can greatly improve development efficiency, so stay tuned

Guess you like

Origin blog.csdn.net/github_35592621/article/details/108375266