Invoke-NerdFontInstaller
1.0.1
An interactive installer for Nerd Fonts and Cascadia Code on Windows, macOS, or Linux.
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 d
An interactive installer for Nerd Fonts and Cascadia Code on Windows, macOS, or Linux.
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 lest of available Nerd Fonts, use the following command:
```powershell
& ([scriptblock]::Create((iwr 'https://bit.ly/ps-nerdfont-installer'))) -List All
```
Show more
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 lest 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
Dependencies
This script has no dependencies.
Release Notes
Version 1.0.1 (2024-08-28)
- Initial release.
FileList
- Invoke-NerdFontInstaller.nuspec
- Invoke-NerdFontInstaller.ps1