pkg.soopen package index

brew / 排名 2291

使用 Homebrew 安装 nodebrew

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nodebrew

local Homebrew formula metadata

概览

软件包摘要

Node.js version manager

命令和别名

  • nodebrew

历史

项目历史与用法

`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.

时间线

  • 2011-11-15: GitHub repository `hokaccha/nodebrew` was created.
  • 2018-03-10: v1.0.0 tag commit.
  • 2021-04-23: v1.1.0 tag commit.
  • 2022-03-19: v1.2.0 tag commit.
  • 2026-07-01: Homebrew formula API reported stable version 1.2.0.

Related projects

  • nvm
  • n
  • nodenv
  • nodeenv

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:version manager

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.bashrc~/.zshrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nodebrewcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本1.2.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.2.0

https://github.com/hokaccha/nodebrew

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namenodebrew
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation