mirror of
https://github.com/officialrajdeepsingh/nerd-fonts-installer.git
synced 2026-05-03 10:40:27 +02:00
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.
arch-linux
debian
debian-buster
debian-distro
debian-linux
kubuntu
nerd-font-installer
nerd-fonts
nerd-fonts-download
ubuntu
ubuntu-mate
|
|
||
|---|---|---|
| media | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| install.ps1 | ||
| install.sh | ||
| LICENSE | ||
| README.MD | ||
Nerd Fonts Installer
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\Fontsand registers with system
📦 Font Support
- Supports both
.ttfand.otffont 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
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.
