Imported from mvanhorn/printing-press-library (
library/developer-tools/gfonts/SKILL.md). Install upstream withnpx skills add mvanhorn/printing-press-library --skill gfonts. Copyright stays with the author.
gfonts — Google Fonts CLI
Zero-auth CLI for searching, browsing, and downloading fonts from Google Fonts.
Prerequisites: Install the CLI
This skill drives the gfonts-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install gfonts --cli-only - Verify:
gfonts-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.5 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/developer-tools/gfonts/cmd/gfonts-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
Commands
search <query>— Search fonts by name, category, or designerlist— Browse fonts with filters (--category, --sort, --limit)info <font>— Show detailed font metadatadownload <font>— Download font files (--variant, --output, --show)trending— Show trending/popular fontscategories— List all font categories with countsrandom— Pick a random font (--category)