Invoke-NerdFontInstaller
1.1.0
The script downloads the font archive from the GitHub release pages and extracts the font files to
the user's font directory, or the system font directory when using the AllUsers scope with
elevated permissions.
Besides installing the script locally, you may also run this script d
The script downloads the font archive from the GitHub release pages and extracts the font files to
the user's font directory, or the system font directory when using the AllUsers scope with
elevated permissions.
Besides installing the script locally, you may also run this script directly from the web
using the following command:
```powershell
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer')))
# Or alternatively without the shortened URL
& ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/devcontainer-features/main/src/powershell-extended/Invoke-NerdFontInstaller.ps1')))
```
> **IMPORTANT**: A code signature cannot be verified when running the script directly from the web.
> SSL transport layer encryption is used to protect the script during download from GitHub and during
> redirection from the URL shortener.
Parameters may be passed just like any other PowerShell script. For example:
```powershell
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -Name cascadia-code, cascadia-mono
```
To get a list of available Nerd Fonts, use the following command:
```powershell
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -List All
```
Installation Options
Owners
Copyright
© 2024 Julian Pawlowski.
Package Details
Author(s)
- Julian Pawlowski
Tags
nerd-fonts nerdfonts cascadia-code cascadia-code-nerd-font cascadia-code-powerline-font cascadia-mono cascadia-mono-nerd-font cascadia-mono-powerline-font
Functions
Get-FontsListFromWeb Get-FontsListFromCache Save-FontsListToCache Add-CustomEntries Show-Menu Show-MenuOptions Invoke-GitHubApiRequest Invoke-GitHubApiPaginatedRequest Test-TarSupportsFormat Expand-FromArchiveType
Dependencies
This script has no dependencies.
Release Notes
Version 1.1.0 (2024-08-29)
- Add support for multiple types of font archives
- Add XDG compliance for determining the target folder for fonts
FileList
- Invoke-NerdFontInstaller.nuspec
- Invoke-NerdFontInstaller.ps1