winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Support for installation of fonts

Open sob opened this issue 4 years ago • 1 comments

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

sob avatar May 15 '20 19:05 sob

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

TravisSpomer avatar May 19 '20 20:05 TravisSpomer

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

RobCannon avatar May 19 '20 20:05 RobCannon

Installing a CLI font manager might be acceptable.

BatmanAoD avatar Jun 26 '20 16:06 BatmanAoD

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.

weitzhandler avatar Jul 09 '20 09:07 weitzhandler

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.

WSLUser avatar Jul 30 '20 15:07 WSLUser

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

denelon avatar Mar 22 '21 21:03 denelon

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.

RokeJulianLockhart avatar Nov 16 '21 14:11 RokeJulianLockhart

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

denelon avatar Jun 03 '22 15:06 denelon

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

How does that relate to winget?

musm avatar Jun 03 '22 21:06 musm

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

denelon avatar Jun 03 '22 23:06 denelon

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

beingmerry avatar May 02 '24 16:05 beingmerry