winget-cli
winget-cli copied to clipboard
Support for installation of fonts
Description of the new feature/enhancement
As part of a new system build, I typically install a handful of fonts including Cascadia Code and other powerline enabled fonts. These fonts don't have an installer associated with them but instead need to be manually downloaded, extracted, and installed.
https://github.com/microsoft/cascadia-code/releases
Alternately, maybe just installing a font manager like SkyFonts would work just as well without adding specific font-related features to winget.
(Hiding this because I meant it as a helpful note for people who wanted an immediate solution, but it's otherwise not relevant to this particular feature request.)
Be sure to enable installing a font as a non-admin user!
Installing a CLI font manager might be acceptable.
Related:
- https://github.com/microsoft/cascadia-code/issues/283
- https://github.com/JetBrains/JetBrainsMono/issues/260
Installing a CLI font manager might be acceptable.
Not my preference. There should maybe be a special flag for fonts, but not another font manager.
Neither are needed. All that's needed is for the font to be uninstalled first, then the updated version is installed after. Some apps or stuff in Windows will need a font-fallback during this process if they're configured to use that font. So winget just needs to support the unattended uninstallation and installation of the font.
Adding the link to Cascadia Code and a mention to @cinnamon-msft
Because the Microsoft Store is able to manage this already, implementation of this feature is important for compatibility with it. This was the purpose of the addition of the "msstore" repository additionally.
Hey everyone oh-my-posh by @JanDeDobbeleer now has support for installing nerd fonts.
Hey everyone oh-my-posh by @JanDeDobbeleer now has support for installing nerd fonts.
How does that relate to winget?
I assume there are Windows Package Manager users who are generally interested in being able to install fonts with a CLI. As we haven't sequenced when this feature might land, I was trying to be helpful for the community by offering one possible solution that could be used "today".
Related to:
- microsoft/winget-pkgs/issues/17547
This would be a great feature to have. I use OhMyPosh so I'll use that workaround for now.