Skip to content

PSModule/GoogleFonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoogleFonts

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.

Prerequisites

Install-GoogleFont requires the Fonts module version 1.1.21 and the Admin module version 1.1.6.

Installation

Install the module from the PowerShell Gallery:

Install-PSResource -Name GoogleFonts
Import-Module -Name GoogleFonts

Usage

List available fonts

List the fonts available from Google Fonts. Filter by name with wildcards:

Get-GoogleFont
Get-GoogleFont -Name 'Noto*'

Install a font

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 AllUsers

Install every font

Download and install all Google Fonts for the current user:

Install-GoogleFont -All

Documentation

Documentation is published at psmodule.io/GoogleFonts.

Use PowerShell help and command discovery for module details:

Get-Command -Module GoogleFonts
Get-Help Install-GoogleFont -Examples

Related links

About

A PowerShell module to download and install fonts from GoogleFonts.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

1 watching

Forks

Contributors