GoogleFonts is a PowerShell module for downloading and installing fonts from Google Fonts. The module does not ship the fonts themselves; it fetches them from the google/fonts repository and installs them on your system.
Install-GoogleFont requires the Fonts module version 1.1.21 and the Admin module version 1.1.6.
Install the module from the PowerShell Gallery:
Install-PSResource -Name GoogleFonts
Import-Module -Name GoogleFontsList the fonts available from Google Fonts. Filter by name with wildcards:
Get-GoogleFont
Get-GoogleFont -Name 'Noto*'Install a font for the current user. Name tab-completion is supported:
Install-GoogleFont -Name 'Roboto'Install a font for all users. This requires an elevated session (sudo or run as administrator):
Install-GoogleFont -Name 'Roboto' -Scope AllUsersDownload and install all Google Fonts for the current user:
Install-GoogleFont -AllDocumentation is published at psmodule.io/GoogleFonts.
Use PowerShell help and command discovery for module details:
Get-Command -Module GoogleFonts
Get-Help Install-GoogleFont -Examples