# 使用 Homebrew, Nix 安装 nerdfix

查看 nerdfix 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:nerdfix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nerdfix
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nerdfix
```

  证据: nixpkgs package indexes: pkgs/by-name/ne/nerdfix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:nerdfix
- **软件包管理器:** Homebrew
- **版本:** 0.4.2
- **来源摘要:** Find/fix obsolete Nerd Font icons
- **主页:** <https://github.com/loichyan/nerdfix>
- **仓库:** <https://github.com/loichyan/nerdfix>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nerdfix (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.2
## 项目历史与用法

nerdfix is a Rust CLI created in March 2023 to find and optionally fix obsolete Nerd Font glyphs in source trees. Its purpose is tightly coupled to the Nerd Fonts v2.3.3 to v3 migration, where many icon codepoints, especially Material Design Icons, moved to avoid conflicts and keep icons in private-use areas.

### 项目历史

The README explains the motivation directly: Nerd Fonts is used by many UI projects, but some codepoints conflicted with other fonts, especially CJK fonts. Nerd Fonts therefore changed some codepoints; over 2,000 `mdi-*` icons were deprecated after v2.3.3 and targeted for removal in v3. nerdfix indexes the official cheat sheet so maintainers do not have to inspect every glyph manually.

GitHub metadata retrieved on 2026-07-01 showed the repository created on 2023-03-16, written in Rust, with about 468 stars and 7 forks. GitHub releases list v0.1.0 on 2023-03-25 and v0.4.2 on 2024-11-23.

### 采用历史

Adoption is focused but meaningful among Neovim, terminal UI, statusline, prompt, and dotfile maintainers who embedded Nerd Font glyphs before the v3 remap. The repo topics include checker, neovim, nerd-fonts, and rust; the av.db source record shows Homebrew and Nix packaging. The Homebrew formula API reported stable version 0.4.2 and 3 install-on-request events in the prior 30 days when checked on 2026-07-01, so this is a niche repair tool rather than a broadly installed daily CLI.

### 使用方式

Package nerds use nerdfix during migrations: scan project files for obsolete glyphs, review candidate replacements, and apply fixes before users upgrade their Nerd Fonts installation. It is most useful in repositories that carry icon literals in Lua, shell, Vimscript, TOML, documentation, prompts, and terminal UI source code.

### 为什么软件包爱好者会关心

nerdfix is historically interesting because it captures a rare maintenance problem in terminal tooling: Unicode private-use glyphs became an API surface. The package exists because an upstream font project made a compatibility-breaking cleanup, and downstream terminal packages needed a source-scanning migration tool.

### 时间线

- 2023-03-16: GitHub repository created.
- 2023-03-25: v0.1.0 initial release.
- 2024-11-23: v0.4.2 release, the Homebrew stable version reported on 2026-07-01.

### Related projects

- Nerd Fonts
- Neovim
- Material Design Icons
- terminal prompts
- terminal UI projects

### 来源

- <https://api.github.com/repos/loichyan/nerdfix>
- <https://api.github.com/repos/loichyan/nerdfix/releases?per_page=100>
- <https://formulae.brew.sh/api/formula/nerdfix.json>
- <https://github.com/loichyan/nerdfix>
- <https://github.com/loichyan/nerdfix/releases>
- <https://github.com/ryanoasis/nerd-fonts/discussions/716>
- <https://www.nerdfonts.com/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - nerdfix: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/nerdfix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/nerdfix.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nerdfix.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
