# Install nodebrew with Homebrew

Node.js version manager. Version 1.2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:nodebrew
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nodebrew
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:nodebrew
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nodebrew>
- **Version:** 1.2.0
- **Source summary:** Node.js version manager
- **Homepage:** <https://github.com/hokaccha/nodebrew>
- **Repository:** <https://github.com/hokaccha/nodebrew>
- **Upstream docs:** <https://github.com/hokaccha/nodebrew#readme>
- **License:** MIT
- **Source archive:** <https://github.com/hokaccha/nodebrew/archive/refs/tags/v1.2.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- nodebrew (cli)
- nodebrew (alias)

## Install behavior

- Post-install hook: not defined
- Caveats: 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
- Bottle: available on all

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.2.0
- Local data: ok
- Upstream repository: https://github.com/hokaccha/nodebrew
- Upstream latest detected: v1.2.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

- <https://api.github.com/repos/hokaccha/nodebrew>
- <https://api.github.com/repos/hokaccha/nodebrew/tags>
- <https://formulae.brew.sh/api/formula/nodebrew.json>
- <https://github.com/hokaccha/nodebrew>
- <https://raw.githubusercontent.com/hokaccha/nodebrew/master/README.md>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **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:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [nodenv](https://www.automicvault.com/pkg/brew/nodenv/) - Shares av.db curated category or tags: cli, developer-tools, development-environment, nodejs, version-manager.
- [anyenv](https://www.automicvault.com/pkg/brew/anyenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager, version-managers.
- [fvm](https://www.automicvault.com/pkg/brew/fvm/) - Shares av.db curated category or tags: cli, developer-tools, version-manager, version-managers.
- [sbtenv](https://www.automicvault.com/pkg/brew/sbtenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager, version-managers.
- [tofuenv](https://www.automicvault.com/pkg/brew/tofuenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager, version-managers.
- [fnm](https://www.automicvault.com/pkg/brew/fnm/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, version-manager.
- [goenv](https://www.automicvault.com/pkg/brew/goenv/) - Shares av.db curated category or tags: cli, developer-tools, development-environment, version-manager.
- [nave](https://www.automicvault.com/pkg/brew/nave/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, version-manager.

## Combined YAML source

View the package source record on GitHub. [combined/nodebrew.yml](https://github.com/automic-vault/db/blob/main/combined/nodebrew.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
