# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/node-build>
- **版本:** 5.4.48
- **来源摘要:** Install NodeJS versions
- **主页:** <https://github.com/nodenv/node-build>
- **仓库:** <https://github.com/nodenv/node-build>
- **许可证:** MIT
- **源码归档:** <https://github.com/nodenv/node-build/archive/refs/tags/v5.4.48.tar.gz>
- **最后更新:** 2026-08-03T18:02:10Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- autoconf
- openssl@3
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.4.48
- 管理器更新时间: 2026-08-03
- 本地数据: OK
- 上游仓库: https://github.com/nodenv/node-build
- 检测到的最新版本: v5.4.48 (当前)
## 项目历史与用法

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。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** node-build
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Runtime dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Runtime dependency declared by Homebrew.
- [nodenv](https://pkg.so/zh-hans/brew/nodenv/) - Popular package that depends on this formula.
- [ndenv](https://pkg.so/zh-hans/brew/ndenv/) - Popular package that depends on this formula.
- [fnm](https://pkg.so/zh-hans/brew/fnm/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, version-manager.
- [nodebrew](https://pkg.so/zh-hans/brew/nodebrew/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, version-manager.
- [vfox](https://pkg.so/zh-hans/brew/vfox/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, runtime-management, version-manager.
- [grunt-cli](https://pkg.so/zh-hans/brew/grunt-cli/) - Shares pkgdb curated category or tags: build-tool, cli, developer-tools, nodejs.
- [nave](https://pkg.so/zh-hans/brew/nave/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, version-manager.
- [pnpm](https://pkg.so/zh-hans/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs.
- [node-env-run](https://pkg.so/zh-hans/npm/node-env-run/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, node, nodejs.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
