Esta página se muestra en inglés. Una traducción al español está en curso.
ConfigsApr 29, 2026·3 min de lectura

Nerd Fonts — Iconic Font Aggregator with 3600+ Developer Icons

A project that patches 50+ developer fonts with over 3600 icons from Font Awesome, Devicons, Octicons, and more, giving terminals and editors rich iconography.

Introduction

Nerd Fonts takes popular monospaced fonts and patches them with thousands of icons from glyph sets like Font Awesome, Material Design Icons, Powerline symbols, and Devicons. The result is a single font that renders file-type icons, git symbols, and UI glyphs in terminals and editors without extra configuration.

What Nerd Fonts Does

  • Patches 50+ programming fonts with 3600+ icons from 10 glyph collections
  • Provides a font patcher script to create custom patched fonts
  • Distributes pre-built fonts via GitHub Releases, Homebrew, Chocolatey, and more
  • Supports both complete (all icons) and minimal (Powerline only) variants
  • Maintains compatibility with tools like Starship, Powerlevel10k, lsd, and eza

Architecture Overview

The Nerd Fonts patcher is a Python script using FontForge to merge additional glyph sets into existing font files. It maps icon codepoints into the Unicode Private Use Area so they do not conflict with standard characters. Each font is built in multiple variants: regular, mono (single-width icons), and propo (proportional) to suit different rendering environments.

Self-Hosting & Configuration

  • Install pre-patched fonts via your OS package manager or download from GitHub Releases
  • Set the patched font in your terminal emulator's font settings
  • For VS Code: set "terminal.integrated.fontFamily": "Hack Nerd Font" in settings
  • Use the patcher script to patch custom or proprietary fonts: fontforge -script font-patcher MyFont.ttf --complete
  • Icon codepoints are documented in the cheat sheet at nerdfonts.com

Key Features

  • Over 3600 icons from Font Awesome, Devicons, Octicons, Powerline, and Weather Icons
  • Pre-patched versions of popular fonts like Hack, FiraCode, JetBrains Mono, and Cascadia Code
  • Font patcher script allows patching any TTF or OTF font
  • Mono variants ensure icons occupy exactly one character cell width
  • Widely adopted by terminal prompt tools, file managers, and status lines

Comparison with Similar Tools

  • Powerline Fonts — only adds Powerline symbols; Nerd Fonts includes Powerline plus thousands more icons
  • Font Awesome — a web icon font; Nerd Fonts bundles Font Awesome glyphs into coding fonts
  • Codicons — VS Code's icon font; limited to VS Code UI, not terminal-friendly
  • Patched fonts from Oh My Zsh — older Powerline-only patches; Nerd Fonts is more comprehensive
  • Symbols Nerd Font — a standalone symbols-only font by the same project for fallback rendering

FAQ

Q: Will Nerd Fonts break my existing font rendering? A: No. Patched glyphs live in the Unicode Private Use Area and do not replace standard characters.

Q: Which font variant should I choose — Mono, Propo, or regular? A: Use Mono for terminals where consistent cell width matters. Use Propo for editors where proportional icon width looks better.

Q: Can I patch a font I purchased commercially? A: The patcher script works on any TTF/OTF file, but redistribution depends on the original font's license.

Q: How do terminal tools display the icons? A: Tools like lsd, eza, and Starship emit Unicode codepoints from the Private Use Area that the Nerd Font maps to icon glyphs.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados