2024, Some Practices for Improving the Windows Development and Usage Experience - Package Managers Part
Windows Package Manager? Scoop is open-source and customizable, Winget is the official but so-so option, and WingetUI with its graphical interface finally spares us the hassle of manual fiddling. Efficiency boost? Humph, at least it’s no longer the exclusive domain of niche Linux enthusiasts.
目录11 个章节
Preface
The brief Chinese New Year holiday flew by, and another busy year is about to begin 🔛
The previous article discussed using the Linux desktop 🐧 as my primary system in 2024 and received attention from many friends.
However, the Linux desktop remains a niche hobby after all, and the mainstream system is still Windows. As the saying goes, "A craftsman must first sharpen his tools to do his work well." This article compiles some software tools and tips to enhance your Windows user experience and productivity 🔝
Package Manager
For those who have used macOS or Linux, you've likely heard of package management tools. Through package managers, you can quickly and automatically install, configure, uninstall, and upgrade software directly in the terminal, without needing to download installers from the web and manually step through the installation process yourself. (If you search using Baidu, you'll often be redirected to various messy advertising software sites, and you might accidentally download modified rogue software 💢)
This is incredibly useful for installing a large number of software at once, significantly saving time and effort required for software installation, while also ensuring a certain level of security for the software source. 🔒
Back in the Windows 7/8 era, the lack of similar package management tools meant the Windows development ecosystem was quite barren. However, in the Windows 10 era, the situation improved. As Microsoft embraced open source and became more open—although Windows has also acquired a certain "curry flavor" (referring to Indian developers' influence)—the Windows development experience has become vastly better than before. With Microsoft officially participating, tools like WSL and Windows Terminal, along with various productivity tools, have emerged endlessly. You could say that the good times have arrived. 👍
Package managers are divided into two categories: official package managers and third-party ones. The official one is called winget, while third-party options include Chocolatey and Scoop 🧼
In the Linux system context, the official winget is equivalent to apt in the Debian ecosystem; the tools within it are all reviewed and available in the Microsoft Store.
Third-party ones like Scoop are similar to the AUR in the Arch ecosystem, where the software is packaged and maintained by the community.
I personally prefer Scoop because it offers a high degree of customization. I use winget as a supplement; if Scoop doesn't have a piece of software, I then go to winget to install it.
Installing winget
winget supports Windows 10 version 1809 and later.
You can install it through the Microsoft Store or download the installer manually from GitHub.
Store Installation
Installing through the Store is recommended for convenience.
Open the Microsoft Store, search for "App Installer", and click Install. This is not only the simplest method but also the most convenient, as winget will automatically update to the latest version with Microsoft Store updates.

Manual Installation
If you cannot download through the Microsoft Store, you can manually download the winget installer directly from the official winget-cli GitHub repository.
Unlike traditional exe files, this is a Store application. Due to security restrictions, Windows 10 does not allow installing Store apps from unknown sources by default. You need to go to System Settings > "Update & Security" > "For developers" and turn on "Developer mode" to allow app installation from any source.
Download page: https://github.com/microsoft/winget-cli/releases
Here, you need to select and download the file with the .appxbundle extension and double-click to install.

Installing Scoop
This is my favorite Windows package manager. Chocolatey is also good to use, but it's closed-source, while Scoop is completely open-source.
Official website: https://scoop.sh/
According to the instructions on the official website, you can install it by opening PowerShell in administrator mode and executing the following commands.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
Configure scoop
Scoop has very flexible configuration options, such as setting up aria2 for download acceleration, but I'm too lazy to tinker with it. The default speed is already very fast.
I just configured a proxy.
scoop config proxy 127.0.0.1:7890
Actually, by default, scoop uses the system proxy, but I still prefer to configure it.
Using Package Managers
winget and scoop are quite similar in usage.
Use search to search for packages.
Use install to install packages.
For more detailed usage, you can refer to their official documentation. I have also found a few good reference materials here, which you can take a look at.
Package Manager GUI
Someone mentioned here that using Windows is precisely because they don't want to type commands, so why go back to that?
OK, then let's also arrange a graphical interface package manager, all right 👌
In fact, the Microsoft Store is a graphical package manager; it's just done so poorly, often failing to load or crashing, so I won't recommend it.
What I recommend here is an open-source project, WingetUI. As the name implies, it's a GUI for package managers. It's quite powerful—it doesn't just manage the package managers mentioned in this article but can also manage packages for some programming languages, such as Pip, Npm, .NET Tool, and PowerShell Gallery, which is really 6️⃣
Project address: https://github.com/marticliment/WingetUI
Installation is also very easy. On the basis that we already have a package manager, it only takes one command to get it done.
winget install SomePythonThings.WingetUIStore
Or use scoop
scoop bucket add extras
scoop install extras/wingetui
It's very convenient to use. Here's a screenshot taken from the official website.

Explore the specifics on your own; using a graphical interface has zero cost.
References
- This is perhaps the best package management tool for Windows: Windows Package Manager - https://sspai.com/post/67005
- Manage your Windows software installation and uninstallation with a 'single line of code' using Scoop - https://sspai.com/post/52496
- Add these software repositories to Scoop to make it a powerful Windows software manager - https://sspai.com/post/52710
Summary
The next part will continue introducing the RIME input method.
_EOF_
2024, Some Practices for Improving the Windows Development and Usage Experience - Package Managers Part
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
IT之家学院:让你的Win10桌面比macOS还简洁漂亮高大上
感谢IT之家网友 yiyueduzui 的原创投稿 直奔主题,先给大家看看我的电脑桌面: 有人开始骂了:你特么逗我呢?这明明就是一张图片好不啦! 我读书那么多,怎么会骗你,这真的是我的电脑桌面,不还有个桌面数字时钟呢嘛!论简洁,还有谁? 那这啥都没有,要怎么用啊? 看好啦,当我的鼠标移动到屏幕下方的时候, 出现了一个Dock栏,跟苹果系统的一样一样的。 有些图标其实是一个目录或者文件夹,当它展开的
2021-12-18 · Windows · 约 1 分钟
Windows也能拥有好用的命令行吗?Powershell+Terminal折腾记录(v1.0版本)
Windows一向以图形化操作入门容易著称,所以对于命令行的支持一直为人所诟病,比起Linux或者mac都是被吊打的。这一局面在最近几个版本的Windows10更新里,特别是微软官方出了WindowsTerminal这个大杀器之后有所改善~ 所以对于标题的这个问题,只能说「勉强可以吧」,本文介绍几个折腾命令行的方法。 效果图 ~~偷一张官方的截图,应该没人发现吧~~ 建议先熟读官方文档:https
2024-02-29 · Windows · 约 1 分钟
解决Windows蓝牙耳机音质差的问题
Windows 把蓝牙耳机麦克风一调用就切 HFP,全损音质,真当用户听不出来?mmsys.cpl 里把录制设备禁掉,世界清净。这破系统还得手动治。
2026-11-12 · Windows · 约 1 分钟
忘记WSL的root密码怎么办
解决方法 首先,打开WSL是不需要输入密码的,如果你打开WSL时的默认用户不是root,请按照一下方式修改。 修改默认登录WSL用户 以管理员权限启动Powershell lxrun /setdefaultuser root 此时重新打开WSL就是root用户了,并且不需要密码。 然后输入以下命令修改密码。 passwd root About 了解更多有趣的操作请关注我的微信公众号:DealiA
2021-12-18 · Windows · 约 1 分钟
讨论
共 0 条加载评论中…