fontist 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/docs.yml +70 -0
  3. data/.github/workflows/links.yml +100 -0
  4. data/.gitignore +2 -1
  5. data/docs/.vitepress/config.ts +153 -32
  6. data/docs/.vitepress/data/cli-commands.json +461 -0
  7. data/docs/.vitepress/data/exit-codes.json +21 -0
  8. data/docs/.vitepress/data/features.json +44 -0
  9. data/docs/.vitepress/theme/components/HeroCodeBlock.vue +98 -0
  10. data/docs/.vitepress/theme/components/WithinHero.vue +30 -0
  11. data/docs/.vitepress/theme/index.ts +12 -0
  12. data/docs/.vitepress/theme/style.css +152 -0
  13. data/docs/api/errors.md +211 -0
  14. data/docs/api/font.md +101 -0
  15. data/docs/api/fontconfig.md +82 -0
  16. data/docs/api/formula.md +103 -0
  17. data/docs/api/index.md +49 -0
  18. data/docs/api/manifest.md +209 -0
  19. data/docs/cli/cache.md +100 -0
  20. data/docs/cli/config.md +123 -0
  21. data/docs/cli/create-formula.md +65 -0
  22. data/docs/cli/exit-codes.md +73 -0
  23. data/docs/cli/fontconfig.md +85 -0
  24. data/docs/cli/import.md +136 -0
  25. data/docs/cli/index-cmd.md +37 -0
  26. data/docs/cli/index.md +80 -0
  27. data/docs/cli/install.md +52 -0
  28. data/docs/cli/list.md +39 -0
  29. data/docs/cli/manifest.md +110 -0
  30. data/docs/cli/repo.md +142 -0
  31. data/docs/cli/status.md +39 -0
  32. data/docs/cli/uninstall.md +34 -0
  33. data/docs/cli/update.md +31 -0
  34. data/docs/cli/version.md +38 -0
  35. data/docs/components/CliCommand.vue +77 -0
  36. data/docs/components/CliExamples.vue +17 -0
  37. data/docs/components/CliOptions.vue +26 -0
  38. data/docs/components/ExitCodes.vue +18 -0
  39. data/docs/guide/ci.md +4 -0
  40. data/docs/guide/concepts/fonts.md +158 -0
  41. data/docs/guide/concepts/formats.md +234 -0
  42. data/docs/guide/concepts/index.md +109 -0
  43. data/docs/guide/concepts/licenses.md +236 -0
  44. data/docs/guide/concepts/requirements.md +388 -0
  45. data/docs/guide/concepts/variable-fonts.md +212 -0
  46. data/docs/guide/formulas.md +192 -0
  47. data/docs/guide/how-it-works.md +428 -0
  48. data/docs/guide/index.md +26 -47
  49. data/docs/guide/installation.md +105 -0
  50. data/docs/guide/manifests.md +132 -0
  51. data/docs/guide/quick-start.md +76 -0
  52. data/docs/guide/why.md +4 -0
  53. data/docs/index.md +55 -23
  54. data/docs/lychee.toml +33 -0
  55. data/docs/package-lock.json +9 -114
  56. data/docs/package.json +3 -5
  57. data/docs/public/apple-touch-icon.png +0 -0
  58. data/docs/public/favicon-96x96.png +0 -0
  59. data/docs/public/favicon.ico +0 -0
  60. data/docs/public/favicon.svg +1 -0
  61. data/docs/public/logo-full.svg +1 -0
  62. data/docs/public/logo.svg +1 -0
  63. data/docs/public/site.webmanifest +21 -0
  64. data/docs/public/web-app-manifest-192x192.png +0 -0
  65. data/docs/public/web-app-manifest-512x512.png +0 -0
  66. data/lib/fontist/cli.rb +0 -1
  67. data/lib/fontist/version.rb +1 -1
  68. metadata +58 -8
  69. data/.github/workflows/deploy-pages.yml +0 -54
  70. data/.github/workflows/release.yml.orig +0 -36
  71. data/docs/guide/api-ruby.md +0 -189
  72. data/docs/public/hero.png +0 -0
  73. data/docs/public/logo.png +0 -0
  74. data/docs/reference/index.md +0 -143
@@ -0,0 +1,136 @@
1
+ # fontist import
2
+
3
+ Import fonts from external sources and create Fontist formulas.
4
+
5
+ ## Subcommands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | [`fontist import google`](#import-google) | Import Google Fonts |
10
+ | [`fontist import macos`](#import-macos) | Import macOS supplementary fonts |
11
+ | [`fontist import sil`](#import-sil) | Import SIL International fonts |
12
+
13
+ ---
14
+
15
+ ## import google
16
+
17
+ Import fonts from the Google Fonts repository.
18
+
19
+ ### Syntax
20
+
21
+ ```sh
22
+ fontist import google [options]
23
+ ```
24
+
25
+ ### Options
26
+
27
+ | Option | Type | Description |
28
+ |--------|------|-------------|
29
+ | `--source-path` | string | Path to checked-out google/fonts repository |
30
+ | `--output-path` | string | Output path for generated formulas (default: ./Formulas/google) |
31
+ | `--font-name` | string | Import specific font family by name |
32
+ | `--force` | boolean | Overwrite existing formulas |
33
+ | `--verbose` | boolean | Enable verbose output |
34
+ | `--import-cache` | string | Directory for import cache |
35
+
36
+ ### Examples
37
+
38
+ ```sh
39
+ # Import all Google fonts
40
+ fontist import google
41
+
42
+ # Import a specific font
43
+ fontist import google --font-name "Roboto"
44
+
45
+ # Import with custom source
46
+ fontist import google --source-path /path/to/google/fonts
47
+ ```
48
+
49
+ ---
50
+
51
+ ## import macos
52
+
53
+ Import macOS supplementary fonts from system catalogs.
54
+
55
+ ### Syntax
56
+
57
+ ```sh
58
+ fontist import macos [options]
59
+ ```
60
+
61
+ ### Options
62
+
63
+ | Option | Type | Description |
64
+ |--------|------|-------------|
65
+ | `--plist` | string | Path to macOS font catalog XML |
66
+ | `--output-path` | string | Output directory for generated formulas |
67
+ | `--font-name` | string | Import specific font by name |
68
+ | `--force` | boolean | Overwrite existing formulas |
69
+ | `--verbose` | boolean | Enable verbose output |
70
+ | `--import-cache` | string | Directory for import cache |
71
+
72
+ ### Examples
73
+
74
+ ```sh
75
+ # Import from detected macOS catalogs
76
+ fontist import macos
77
+
78
+ # Import from specific catalog
79
+ fontist import macos --plist /path/to/com_apple_MobileAsset_Font8.xml
80
+
81
+ # Import specific font
82
+ fontist import macos --font-name "SF Pro"
83
+ ```
84
+
85
+ ### Finding macOS Catalogs
86
+
87
+ Run `fontist macos-catalogs` to list available font catalogs on your system.
88
+
89
+ ---
90
+
91
+ ## import sil
92
+
93
+ Import fonts from SIL International.
94
+
95
+ ### Syntax
96
+
97
+ ```sh
98
+ fontist import sil [options]
99
+ ```
100
+
101
+ ### Options
102
+
103
+ | Option | Type | Description |
104
+ |--------|------|-------------|
105
+ | `--output-path` | string | Output directory for generated formulas |
106
+ | `--font-name` | string | Import specific font by name |
107
+ | `--force` | boolean | Overwrite existing formulas |
108
+ | `--verbose` | boolean | Enable verbose output |
109
+ | `--import-cache` | string | Directory for import cache |
110
+
111
+ ### Examples
112
+
113
+ ```sh
114
+ # Import all SIL fonts
115
+ fontist import sil
116
+
117
+ # Import specific font
118
+ fontist import sil --font-name "Gentium Plus"
119
+ ```
120
+
121
+ ---
122
+
123
+ ## Use Cases
124
+
125
+ The import commands are useful for:
126
+
127
+ - **Formula maintainers**: Creating formulas for new fonts
128
+ - **Private fonts**: Creating formulas for internal fonts
129
+ - **Bulk imports**: Converting large font collections to Fontist formulas
130
+
131
+ ## Requirements
132
+
133
+ These commands require additional setup:
134
+ - `google`: Access to the google/fonts repository
135
+ - `macos`: macOS system or font catalog files
136
+ - `sil`: Network access to SIL font servers
@@ -0,0 +1,37 @@
1
+ # fontist index
2
+
3
+ Rebuild the system font index by scanning system font directories.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist index
9
+ ```
10
+
11
+ ## Aliases
12
+
13
+ - `fontist index-rebuild` - Same as index
14
+
15
+ ## Description
16
+
17
+ Rebuilds the system font index by scanning system font directories. This command scans your system for available fonts and rebuilds Fontist's internal index of system fonts.
18
+
19
+ This is useful when:
20
+ - New fonts have been installed on your system outside of Fontist
21
+ - The font index has become corrupted or out of date
22
+ - You want Fontist to recognize newly installed system fonts
23
+
24
+ ## Examples
25
+
26
+ ```sh
27
+ # Rebuild the system font index
28
+ fontist index
29
+
30
+ # Using the alias
31
+ fontist index-rebuild
32
+ ```
33
+
34
+ ## Related Commands
35
+
36
+ - [fontist status](/cli/status) - Show installed font paths
37
+ - [fontist list](/cli/list) - List available and installed fonts
data/docs/cli/index.md ADDED
@@ -0,0 +1,80 @@
1
+ # Fontist CLI Reference
2
+
3
+ Complete command-line interface reference for Fontist.
4
+
5
+ ## Quick Reference
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | [`fontist install`](/cli/install) | Install fonts |
10
+ | [`fontist uninstall`](/cli/uninstall) | Uninstall fonts |
11
+ | [`fontist list`](/cli/list) | List font status |
12
+ | [`fontist status`](/cli/status) | Show font paths |
13
+ | [`fontist update`](/cli/update) | Update formulas |
14
+ | [`fontist version`](/cli/version) | Show version info |
15
+
16
+ ## Subcommands
17
+
18
+ | Command | Description |
19
+ |---------|-------------|
20
+ | [`fontist manifest`](/cli/manifest) | Manifest management |
21
+ | [`fontist index`](/cli/index-cmd) | System font index |
22
+ | [`fontist cache`](/cli/cache) | Cache management |
23
+ | [`fontist config`](/cli/config) | Configuration |
24
+ | [`fontist repo`](/cli/repo) | Custom repositories |
25
+ | [`fontist fontconfig`](/cli/fontconfig) | Fontconfig integration |
26
+ | [`fontist import`](/cli/import) | Import fonts |
27
+ | [`fontist create-formula`](/cli/create-formula) | Create formulas |
28
+
29
+ ## Global Options
30
+
31
+ These options work with all commands:
32
+
33
+ | Option | Description |
34
+ |--------|-------------|
35
+ | `--quiet` | Suppress output |
36
+ | `--verbose` | Enable verbose output |
37
+ | `--debug` | Enable debug output |
38
+ | `--color` | Force colored output |
39
+ | `--no-color` | Disable colored output |
40
+
41
+ ## Environment Variables
42
+
43
+ | Variable | Description |
44
+ |----------|-------------|
45
+ | `FONTIST_PATH` | Override Fontist directory (default: `~/.fontist`) |
46
+ | `FONTIST_NO_PROGRESS` | Disable progress bars |
47
+
48
+ ## Getting Help
49
+
50
+ ```sh
51
+ # Show general help
52
+ fontist help
53
+
54
+ # Show command-specific help
55
+ fontist install --help
56
+ fontist manifest --help
57
+ ```
58
+
59
+ ## Exit Codes
60
+
61
+ Fontist uses standard exit codes for scripting. See the [Exit Codes Reference](/cli/exit-codes) for details.
62
+
63
+ ---
64
+
65
+ ## Installation
66
+
67
+ ```sh
68
+ gem install fontist
69
+ ```
70
+
71
+ ## Prerequisites
72
+
73
+ - Ruby 2.7 or higher
74
+ - Network access for downloading fonts
75
+
76
+ ## Next Steps
77
+
78
+ - [Getting Started Guide](/guide/) - Learn the basics
79
+ - [Using Fontist in CI](/guide/ci) - CI/CD integration
80
+ - [Manifest Support](/cli/manifest) - Reproducible installations
@@ -0,0 +1,52 @@
1
+ # fontist install
2
+
3
+ Install one or more fonts from the Fontist formula repository.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist install FONT... [options]
9
+ ```
10
+
11
+ ## Arguments
12
+
13
+ | Name | Required | Description |
14
+ |------|----------|-------------|
15
+ | `FONT` | Yes | One or more font names to install (variadic) |
16
+
17
+ ## Options
18
+
19
+ <CliOptions command="install" />
20
+
21
+ ## Examples
22
+
23
+ <CliExamples command="install" />
24
+
25
+ ## Multi-font Installation
26
+
27
+ You can install multiple fonts at once:
28
+
29
+ ```sh
30
+ fontist install "Fira Code" "Open Sans" "Roboto"
31
+ ```
32
+
33
+ When installing multiple fonts, Fontist will:
34
+ - Install all fonts in parallel
35
+ - Report successes and failures separately
36
+ - Return appropriate exit code based on results
37
+
38
+ ## Install Locations
39
+
40
+ The `--location` option controls where fonts are installed:
41
+
42
+ | Location | Description | Default |
43
+ |----------|-------------|---------|
44
+ | `fontist` | Fontist's own fonts directory | Yes |
45
+ | `user` | User's local fonts directory | No |
46
+ | `system` | System-wide fonts directory (may require admin rights) | No |
47
+
48
+ ## Related Commands
49
+
50
+ - [fontist uninstall](/cli/uninstall) - Remove installed fonts
51
+ - [fontist list](/cli/list) - List available and installed fonts
52
+ - [fontist status](/cli/status) - Show installed font paths
data/docs/cli/list.md ADDED
@@ -0,0 +1,39 @@
1
+ # fontist list
2
+
3
+ List installation status of fonts available in Fontist.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist list [FONT]
9
+ ```
10
+
11
+ ## Arguments
12
+
13
+ | Name | Required | Description |
14
+ |------|----------|-------------|
15
+ | `FONT` | No | Optional font name to filter results |
16
+
17
+ ## Examples
18
+
19
+ ```sh
20
+ # List all fonts and their installation status
21
+ fontist list
22
+
23
+ # Check status of a specific font
24
+ fontist list "Fira Mono"
25
+ ```
26
+
27
+ ## Output Format
28
+
29
+ The list shows:
30
+ - Formula name
31
+ - Font name
32
+ - Style type (Regular, Bold, Italic, etc.)
33
+ - Installation status (installed/not installed)
34
+ - Manual flag (if font requires manual installation)
35
+
36
+ ## Related Commands
37
+
38
+ - [fontist install](/cli/install) - Install fonts
39
+ - [fontist status](/cli/status) - Show installed font paths
@@ -0,0 +1,110 @@
1
+ # fontist manifest
2
+
3
+ Manage font manifests for reproducible font installations.
4
+
5
+ ## Subcommands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | [`fontist manifest install`](#manifest-install) | Install fonts from a manifest file |
10
+ | [`fontist manifest locations`](#manifest-locations) | Get locations of fonts from a manifest |
11
+
12
+ ---
13
+
14
+ ## manifest install
15
+
16
+ Install fonts defined in a YAML manifest file.
17
+
18
+ ### Syntax
19
+
20
+ ```sh
21
+ fontist manifest install MANIFEST [options]
22
+ ```
23
+
24
+ ### Arguments
25
+
26
+ | Name | Required | Description |
27
+ |------|----------|-------------|
28
+ | `MANIFEST` | Yes | Path to YAML manifest file |
29
+
30
+ ### Options
31
+
32
+ | Option | Alias | Type | Description |
33
+ |--------|-------|------|-------------|
34
+ | `--accept-all-licenses` | `-a` | boolean | Accept all license agreements |
35
+ | `--hide-licenses` | `-h` | boolean | Hide license texts |
36
+ | `--location` | `-l` | string | Install location: fontist, user, or system |
37
+
38
+ ### Examples
39
+
40
+ ```sh
41
+ # Install fonts from manifest
42
+ fontist manifest install fonts.yml
43
+
44
+ # Accept licenses automatically (for CI)
45
+ fontist manifest install fonts.yml --accept-all-licenses --hide-licenses
46
+
47
+ # Install to user directory
48
+ fontist manifest install fonts.yml --location user
49
+ ```
50
+
51
+ ---
52
+
53
+ ## manifest locations
54
+
55
+ Get the file system locations of fonts defined in a manifest.
56
+
57
+ ### Syntax
58
+
59
+ ```sh
60
+ fontist manifest locations MANIFEST [options]
61
+ ```
62
+
63
+ ### Arguments
64
+
65
+ | Name | Required | Description |
66
+ |------|----------|-------------|
67
+ | `MANIFEST` | Yes | Path to YAML manifest file |
68
+
69
+ ### Options
70
+
71
+ | Option | Alias | Type | Description |
72
+ |--------|-------|------|-------------|
73
+ | `--show-timing` | `-t` | boolean | Show timing information for manifest resolution |
74
+
75
+ ### Examples
76
+
77
+ ```sh
78
+ # Get font paths from manifest
79
+ fontist manifest locations fonts.yml
80
+
81
+ # Show timing information
82
+ fontist manifest locations fonts.yml --show-timing
83
+ ```
84
+
85
+ ---
86
+
87
+ ## Manifest File Format
88
+
89
+ A manifest is a YAML file listing required fonts:
90
+
91
+ ```yaml
92
+ # Simple font list
93
+ Roboto:
94
+ Source Sans Pro:
95
+ Fira Code:
96
+ ```
97
+
98
+ ```yaml
99
+ # With specific styles
100
+ Roboto:
101
+ - Regular
102
+ - Bold
103
+ - Italic
104
+ ```
105
+
106
+ ## Use Cases
107
+
108
+ - **CI/CD**: Define project fonts in a manifest file for reproducible builds
109
+ - **Team projects**: Share font requirements across team members
110
+ - **Documentation**: Self-documenting font requirements
data/docs/cli/repo.md ADDED
@@ -0,0 +1,142 @@
1
+ # fontist repo
2
+
3
+ Manage custom font formula repositories.
4
+
5
+ ## Subcommands
6
+
7
+ | Command | Description |
8
+ |---------|-------------|
9
+ | [`fontist repo setup`](#repo-setup) | Setup a custom repository |
10
+ | [`fontist repo update`](#repo-update) | Update a custom repository |
11
+ | [`fontist repo remove`](#repo-remove) | Remove a custom repository |
12
+ | [`fontist repo list`](#repo-list) | List all repositories |
13
+ | [`fontist repo info`](#repo-info) | Show repository information |
14
+
15
+ ---
16
+
17
+ ## repo setup
18
+
19
+ Setup a custom fontist formula repository.
20
+
21
+ ### Syntax
22
+
23
+ ```sh
24
+ fontist repo setup NAME URL
25
+ ```
26
+
27
+ ### Arguments
28
+
29
+ | Name | Required | Description |
30
+ |------|----------|-------------|
31
+ | `NAME` | Yes | Local name for the repository |
32
+ | `URL` | Yes | Git repository URL |
33
+
34
+ ### Examples
35
+
36
+ ```sh
37
+ # Setup a custom repository
38
+ fontist repo setup my-fonts https://github.com/myorg/font-formulas
39
+
40
+ # Setup from a private repository
41
+ fontist repo setup company git@github.com:company/font-formulas.git
42
+ ```
43
+
44
+ ---
45
+
46
+ ## repo update
47
+
48
+ Update formulas in a custom repository.
49
+
50
+ ### Syntax
51
+
52
+ ```sh
53
+ fontist repo update NAME
54
+ ```
55
+
56
+ ### Arguments
57
+
58
+ | Name | Required | Description |
59
+ |------|----------|-------------|
60
+ | `NAME` | Yes | Repository name |
61
+
62
+ ### Examples
63
+
64
+ ```sh
65
+ fontist repo update my-fonts
66
+ ```
67
+
68
+ ---
69
+
70
+ ## repo remove
71
+
72
+ Remove a custom repository.
73
+
74
+ ### Syntax
75
+
76
+ ```sh
77
+ fontist repo remove NAME
78
+ ```
79
+
80
+ ### Arguments
81
+
82
+ | Name | Required | Description |
83
+ |------|----------|-------------|
84
+ | `NAME` | Yes | Repository name |
85
+
86
+ ### Examples
87
+
88
+ ```sh
89
+ fontist repo remove my-fonts
90
+ ```
91
+
92
+ ---
93
+
94
+ ## repo list
95
+
96
+ List all configured repositories.
97
+
98
+ ### Syntax
99
+
100
+ ```sh
101
+ fontist repo list
102
+ ```
103
+
104
+ ### Examples
105
+
106
+ ```sh
107
+ fontist repo list
108
+ ```
109
+
110
+ ---
111
+
112
+ ## repo info
113
+
114
+ Show information about a repository.
115
+
116
+ ### Syntax
117
+
118
+ ```sh
119
+ fontist repo info NAME
120
+ ```
121
+
122
+ ### Arguments
123
+
124
+ | Name | Required | Description |
125
+ |------|----------|-------------|
126
+ | `NAME` | Yes | Repository name |
127
+
128
+ ### Examples
129
+
130
+ ```sh
131
+ fontist repo info my-fonts
132
+ ```
133
+
134
+ ---
135
+
136
+ ## Use Cases
137
+
138
+ Custom repositories are useful for:
139
+
140
+ - **Private fonts**: Host formulas for proprietary fonts
141
+ - **Organization-specific**: Share fonts within an organization
142
+ - **Testing**: Test new formulas before contributing upstream
@@ -0,0 +1,39 @@
1
+ # fontist status
2
+
3
+ Show paths of installed fonts on your system.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist status [FONT]
9
+ ```
10
+
11
+ ## Arguments
12
+
13
+ | Name | Required | Description |
14
+ |------|----------|-------------|
15
+ | `FONT` | No | Optional font name to filter results |
16
+
17
+ ## Examples
18
+
19
+ ```sh
20
+ # Show all installed fonts on the system
21
+ fontist status
22
+
23
+ # Show paths for a specific font
24
+ fontist status "Open Sans"
25
+ ```
26
+
27
+ ## System Font Detection
28
+
29
+ The `status` command searches **all fonts available on your system**, including:
30
+ - Fonts installed by Fontist
31
+ - System fonts (Windows, macOS, Linux)
32
+ - User-installed fonts
33
+
34
+ This is useful to see if a font you need is already available before installing it with Fontist.
35
+
36
+ ## Related Commands
37
+
38
+ - [fontist install](/cli/install) - Install fonts
39
+ - [fontist list](/cli/list) - List available and installed fonts
@@ -0,0 +1,34 @@
1
+ # fontist uninstall
2
+
3
+ Uninstall fonts that were installed by Fontist.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist uninstall FONT
9
+ ```
10
+
11
+ ## Aliases
12
+
13
+ - `fontist remove` - Same as uninstall
14
+
15
+ ## Arguments
16
+
17
+ | Name | Required | Description |
18
+ |------|----------|-------------|
19
+ | `FONT` | Yes | Font or formula name to uninstall |
20
+
21
+ ## Examples
22
+
23
+ ```sh
24
+ # Uninstall a specific font
25
+ fontist uninstall "Roboto"
26
+
27
+ # Using the remove alias
28
+ fontist remove "Open Sans"
29
+ ```
30
+
31
+ ## Related Commands
32
+
33
+ - [fontist install](/cli/install) - Install fonts
34
+ - [fontist status](/cli/status) - Show installed font paths
@@ -0,0 +1,31 @@
1
+ # fontist update
2
+
3
+ Update the Fontist formulas repository.
4
+
5
+ ## Syntax
6
+
7
+ ```sh
8
+ fontist update
9
+ ```
10
+
11
+ ## Description
12
+
13
+ Updates the formulas repository to get the latest font definitions. This downloads new and updated formulas from the official Fontist formulas repository.
14
+
15
+ ## Examples
16
+
17
+ ```sh
18
+ # Update formulas
19
+ fontist update
20
+ ```
21
+
22
+ ## When to Update
23
+
24
+ Run this command when:
25
+ - You can't find a font that should be available
26
+ - After a while to get new fonts added to the repository
27
+ - When instructed by error messages
28
+
29
+ ## Related Commands
30
+
31
+ - [fontist version](/cli/version) - Show version information