microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.17k stars 1.45k forks source link

Support for installation of fonts #166

Open sob opened 4 years ago

sob commented 4 years ago

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

TravisSpomer commented 4 years ago

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.)

RobCannon commented 4 years ago

Be sure to enable installing a font as a non-admin user!

BatmanAoD commented 4 years ago

Installing a CLI font manager might be acceptable.

weitzhandler commented 4 years ago

Related:


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.

WSLUser commented 4 years ago

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.

denelon commented 3 years ago

Adding the link to Cascadia Code and a mention to @cinnamon-msft

RokeJulianLockhart commented 2 years ago

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.

denelon commented 2 years ago

Hey everyone oh-my-posh by @JanDeDobbeleer now has support for installing nerd fonts.

musm commented 2 years ago

Hey everyone oh-my-posh by @JanDeDobbeleer now has support for installing nerd fonts.

How does that relate to winget?

denelon commented 2 years ago

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:

beingmerry commented 6 months ago

This would be a great feature to have. I use OhMyPosh so I'll use that workaround for now.

denelon commented 5 months ago

I've started a discussion on fonts. Please don't add any additional comments to this Issue to avoid the large number of people who receive e-mail notifications.