Skip to content

Nerd Fonts Installer is a bash script that allows users to easily install any nerd font in a Debian-based distribution by following a few simple steps.

License

Notifications You must be signed in to change notification settings

officialrajdeepsingh/nerd-fonts-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nerd Fonts Installer

Licence Debian Bash Script PowerShell Windows

The Nerd Fonts installer provides cross-platform scripts to easily install Nerd Fonts from the command line. It includes a bash script for Linux and macOS systems, and a PowerShell script for Windows systems.

Features

✨ Cross-Platform Support

  • Linux/macOS: Bash script (install.sh) with system-wide font installation
  • Windows 10/11: PowerShell script (install.ps1) with user-level font installation

🎯 Easy to Use

  • Interactive menu with all 51+ Nerd Fonts
  • Colored output for better user experience
  • Input validation and error handling
  • Automatic cleanup of temporary files

🔧 Platform-Specific Installation

  • Linux/macOS: Installs to ~/.fonts/ and refreshes font cache
  • Windows: Installs to %LOCALAPPDATA%\Microsoft\Windows\Fonts and registers with system

📦 Font Support

  • Supports both .ttf and .otf font files
  • Downloads latest versions from GitHub releases
  • Handles font extraction and installation automatically

Compatibility

Windows Support

  • Windows 10: Version 1903 (May 2019 Update) or later
  • Windows 11: All versions supported
  • PowerShell: 5.1+ or PowerShell Core 6+

The Windows PowerShell script has been tested on:

  • Windows 10 Pro for Workstations (Build 26100)
  • PowerShell Core 7.5.2
  • PowerShell 5.1 (Windows PowerShell)

Linux/macOS Support

  • All modern Linux distributions with Bash 3.2+
  • macOS 10.9+ (Mavericks) or later

Demo

DEMO

Install Nerd fonts

Linux and macOS (Bash)

Download or install the Nerd Fonts with the Nerd Fonts Installer script. To install Nerd Fonts, run the following script.

bash -c  "$(curl -fsSL https://raw.githubusercontent.com/officialrajdeepsingh/nerd-fonts-installer/main/install.sh)"

Windows (PowerShell)

For Windows users, use the PowerShell version of the installer.

Requirements:

  • Windows 10 (version 1903 or later) or Windows 11
  • PowerShell 5.1+ or PowerShell Core 6+
# Run in PowerShell (requires PowerShell Core 6+ or Windows PowerShell 5.1+)
iex "& { $(iwr -useb 'https://raw.githubusercontent.com/officialrajdeepsingh/nerd-fonts-installer/main/install.ps1') }"

Or download and run locally:

# Download the script
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/officialrajdeepsingh/nerd-fonts-installer/main/install.ps1' -OutFile 'install.ps1'

# Run the script
.\install.ps1

After selecting your nerd font, it starts downloading into the system. The PowerShell version installs fonts to the user's local fonts directory and attempts to register them with Windows.

About

Nerd Fonts Installer is a bash script that allows users to easily install any nerd font in a Debian-based distribution by following a few simple steps.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •