Invoke-NerdFontInstaller
1.3.4
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://to.loredo.me/Install-NerdFont.ps1')))
```
Or alternatively without the shortened URL:
```powershell
& ([scriptblock]::Create((iwr 'https://raw.githubusercontent.com/jpawlowski/nerd-fonts-installer-PS/main/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://to.loredo.me/Install-NerdFont.ps1'))) -Name cascadia-code, cascadia-mono
```
To get a list of available Nerd Fonts, use the following command:
```powershell
& ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1'))) -List All
```
Installation Options
Owners
Copyright
© 2024 Julian Pawlowski.
Package Details
Author(s)
- Julian Pawlowski
Tags
fonts nerdfonts cascadia-code cascadia-code-nerd-font cascadia-code-powerline-font cascadia-mono cascadia-mono-nerd-font cascadia-mono-powerline-font powershell powershell-script Windows MacOS Linux
Functions
Get-FontsListFromWeb Get-FontsListFromCache Save-FontsListToCache Add-CustomEntries Show-Menu Show-MenuOptions Invoke-GitHubApiRequest Invoke-GitHubApiPaginatedRequest Test-TarSupportsFormat Expand-FromArchiveType
PSEditions
Dependencies
This script has no dependencies.
Release Notes
Version 1.3.4 (2024-09-24)
- Fix BSD tar and GNU tar compatibility issues
FileList
- Invoke-NerdFontInstaller.nuspec
- Invoke-NerdFontInstaller.ps1