# 使用 Homebrew 安装 node-build

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

## 安装

```sh
sudo av install brew:node-build
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install node-build
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:node-build
- **软件包管理器:** Homebrew
- **版本:** 5.4.47
- **来源摘要:** Install NodeJS versions
- **主页:** <https://github.com/nodenv/node-build>
- **仓库:** <https://github.com/nodenv/node-build>
- **最后更新:** 2026-07-30T03:55:33Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- node-build (别名)
- nodenv-install (别名)
- nodenv-uninstall (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

node-build is the small installer layer behind nodenv's `nodenv install` workflow. Its upstream README describes it as a tool that downloads, compiles, and installs Node on Unix-like systems, either as a nodenv plugin or as the standalone `node-build` command.

### 项目历史

The project is explicitly descended from rbenv's ruby-build: the node-build README credits Sam Stephenson's ruby-build as the fork source and Will McKenzie as the person who modified it for Node. That lineage explains the package's shape: shell scripts, build definitions, optional source compilation, tarball checksums, mirrors, and environment-variable overrides instead of a large application framework.

### 采用历史

node-build is niche compared with Node itself, but it matters to developers who want repeatable per-project Node installs through nodenv. Homebrew Formulae lists node-build 5.4.44 and reports 28,881 installs over 365 days, including 13,982 installs on request, which is enough signal to treat it as a real version-manager dependency rather than a forgotten helper.

### 使用方式

Package nerds use node-build when they want nodenv-style version management without nvm's shell-function model. Typical commands are `nodenv install --list`, `nodenv install 20.11.1`, `node-build --definitions`, and `node-build 20.11.1 ~/local/node-20.11.1`. The advanced knobs are useful when diagnosing C compiler failures, forcing source builds with `--compile`, applying a patch with `--patch`, keeping sources for debugging, or overriding tarball URLs and mirrors.

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

The package is interesting because it encodes the boring but valuable part of a runtime ecosystem: mapping many upstream Node releases into reproducible install recipes. It is not a general JavaScript tool; it is plumbing for people who care which exact Node binary, checksum, compiler, prefix, or mirror produced their local runtime.

### Related projects

- nodenv
- node-build-update-defs
- rbenv/ruby-build
- Node.js

### 来源

- <https://formulae.brew.sh/formula/node-build>
- <https://github.com/nodenv/node-build>
- <https://github.com/nodenv/nodenv>
- <https://raw.githubusercontent.com/nodenv/node-build/main/README.md>
- <https://raw.githubusercontent.com/nodenv/node-build/main/package.json>


## 安全说明

没有找到 node-build 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

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


## 来源

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