Skip to content

fontist install ​

Install one or more fonts from the Fontist formula repository.

Syntax ​

sh
fontist install FONT... [options]

Arguments ​

NameRequiredDescription
FONTYesOne or more font names to install (variadic)

Options ​

OptionAliasTypeDescription
--force-fbooleanInstall even if already installed in system
--formula-FbooleanInstall whole formula instead of a font
--accept-all-licenses-abooleanAccept all license agreements
--hide-licenses-hbooleanHide license texts
--no-progress-pbooleanHide download progress
--version-VstringSpecify particular version of a font
--smallest-sbooleanInstall the smallest font by file size if several
--newest-nbooleanInstall the newest version of a font if several
--size-limit-SnumericSpecify upper limit for file size of a formula to be installed (default: 500 MB)
--update-fontconfig-ubooleanUpdate fontconfig
--location-lstringInstall location: fontist (default), user, system
--format FORMATstringFont format to install (ttf, otf, woff, woff2, ttc, otc). If format not available, will transcode from available formats
--variable-axesstringVariable axes to match (comma-separated, e.g., 'wght,wdth')
--prefer-variablebooleanPrefer variable fonts over static fonts
--prefer-format FORMATstringPreferred format when multiple available
--transcode-path PATHstringDirectory to save transcoded fonts (default: same as install location)
--keep-originalbooleanKeep original font after transcoding. (default: true)
--collection-index NnumericExtract specific font from TTC/OTC collection (0-indexed)

Examples ​

Common uses ​

sh
# Install a single font
fontist install "Roboto"

# Install multiple fonts
fontist install "Fira Code" "Open Sans"

# Force reinstall
fontist install "Roboto" --force

# Install to user directory
fontist install "Roboto" --location user

# Accept licenses automatically (for CI)
fontist install "Roboto" --accept-all-licenses --hide-licenses

# Install a specific version
fontist install "Roboto" --version 2.0

# Install whole formula
fontist install "Roboto" --formula

Multi-font Installation ​

You can install multiple fonts at once:

sh
fontist install "Fira Code" "Open Sans" "Roboto"

When installing multiple fonts, Fontist will:

  • Install all fonts in parallel
  • Report successes and failures separately
  • Return appropriate exit code based on results

Install Locations ​

The --location option controls where fonts are installed:

LocationDescriptionDefault
fontistFontist's own fonts directoryYes
userUser's local fonts directoryNo
systemSystem-wide fonts directory (may require admin rights)No

Fontist is riboseopen