An open source Windows package management tool
Since I have been using Mac for work and am used to the convenience of installing software packages with brew on Mac, I recently installed Windows on my company computer. I want to try it out. How can I install software packages as smoothly as on MAC? Of course, the protagonist I recommend today is Scoop.
Scoop is an open source project that mainly installs Windows software packages through commands. It can avoid permission pop-ups, hide the GUI wizard installation, and automatically find installation dependencies and automatically execute installation steps.
Official website address: https://scoop.sh/
Open source project address: https://github.com/ScoopInstaller/Scoop
In addition, the scoop package can be used as part of the git repository, usually called buckets. You can view the buckets on github here at https://scoop.sh/#/buckets. Of course, you can also easily create your own buckets.
Environment Preparation
- Windows 10 Professional 19044.1586
- The latest version of PowerShell or Windows PowerShell 5.1
- The PowerShell execution policy must be one of the following: Unrestricted, RemoteSigned, or ByPass to execute the installer.
Install Scoop
Run this command from a non-admin PowerShell to install Scoop with the default configuration. Scoop will be installed to C:\Users<YOUR USERNAME>\scoop
You will be prompted to change the policy when installing here:
|
|
Of course, if your network cannot connect to the official address, you can add a proxy method:
|
|
In addition, if you do not want to install the default path, you can specify it as follows, install.ps1 refers to https://github.com/ScoopInstaller/Install/blob/master/install.ps1:
|
|
Change domestic sources
Several domestic sources can be used on the Internet: https://gitee.com/squallliu/scoop https://gitee.com/glsnames/scoop-installer
Install the package
If the installation is stuck, it is recommended to configure the proxy
Configure multi-threaded download artifact aria2
Scoop common commands
Reference: https://github.com/ScoopInstaller/Install