macOS
brew install nodebrewlocal Homebrew formula metadata
安装
brew install nodebrewlocal Homebrew formula metadata
概览
Node.js version manager
历史
`nodebrew` is a Perl-based Node.js version manager by Kazuhito Hokamura. It predates many later Node version-manager workflows and keeps a simple model: download or compile Node.js versions under a per-user root, switch a `current` path, and put that path in the user's shell.
GitHub metadata shows the repository was created on 2011-11-15. The README presents a curl-to-Perl setup flow, a default root of `$HOME/.nodebrew`, and shell PATH setup using `$HOME/.nodebrew/current/bin`.
The tag history shows v1.0.0 committed on 2018-03-10, v1.1.0 on 2021-04-23, and v1.2.0 on 2022-03-19. Homebrew reported stable version 1.2.0 on 2026-07-01, matching the latest tag listed by GitHub.
By 2026-07-01, GitHub metadata reported 1067 stars and 66 forks. Homebrew's formula API reported 4600 installs over 365 days and 211 installs over 30 days. That places it below `nodenv` in Homebrew usage, but still visible as a long-lived Node version manager.
Its adoption story is strongest among users who prefer a small standalone version manager without the rbenv-style shim system. The README focuses on direct commands rather than project-local automatic switching.
Typical usage is `nodebrew install <version>` to download a binary, `nodebrew compile <version>` to build from source, `nodebrew use <version>` to switch, and `nodebrew ls-remote` or `nodebrew ls-all` to inspect available and installed versions. It also supports aliases, pruning old versions, migrating global npm packages, and `nodebrew exec <version> -- <command>` for one-off execution.
The package-nerd distinction is that nodebrew changes the selected version by changing which installation is exposed through `$HOME/.nodebrew/current/bin`. That is simpler than shim dispatch but less project-automatic than `.node-version` managers.
It is a useful historical Node manager entry because it represents the single-purpose, per-user install-tree style: no plugin ecosystem, no Python virtualenv integration, and no rbenv ancestry required.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.bashrc~/.zshrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nodebrew | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hokaccha/nodebrew
安装元数据
| 软件包键 | brew:nodebrew |
|---|---|
| 版本 | 1.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nodebrew |
| 主页 | https://github.com/hokaccha/nodebrew |
| 仓库 | https://github.com/hokaccha/nodebrew |
| 许可证 | MIT |
| 源码归档 | https://github.com/hokaccha/nodebrew/archive/refs/tags/v1.2.0.tar.gz |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | You need to manually run setup_dirs to create directories required by nodebrew: $HOMEBREW_PREFIX/opt/nodebrew/bin/nodebrew setup_dirs Add path: export PATH=$HOME/.nodebrew/current/bin:$PATH To use Homebrew's directories rather than ~/.nodebrew add to your profile: export NODEBREW_ROOT=$HOMEBREW_PREFIX/var/nodebrew |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nodebrew |
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.