Analysis updated 2026-06-21
Switch your active Node.js version instantly using an arrow-key menu or a single command like `n lts`.
Let n auto-detect the required Node.js version from a project's .nvmrc or .node-version file when you enter the directory.
Install a specific Node.js version number for a project that cannot run on the latest release.
| tj/n | agarrharr/awesome-cli-apps | voltagent/awesome-claude-code-subagents | |
|---|---|---|---|
| Stars | 19,524 | 19,544 | 19,743 |
| Language | Shell | Shell | Shell |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
n is a command-line tool for managing multiple versions of Node.js on the same computer. Node.js is the JavaScript runtime used to build server-side applications and run development tools. Different projects often require different Node.js versions, and n makes it easy to switch between them without manually uninstalling and reinstalling. The tool is intentionally simple: run n on its own to see a list of your installed Node.js versions with an interactive menu you can navigate with arrow keys, then press Enter to activate the one you want. Run n lts to download and install the latest Long Term Support version. Run n 20.12.2 for a specific version number. When a version has already been downloaded, n installs from its local cache, making switches nearly instant. You can also specify a version using labels like lts, latest, or auto, the auto label reads the required version from a .nvmrc, .node-version, or .n-node-version file in the project directory, which is useful when working across projects that specify their own Node.js requirements. n is written as a Bash shell script and works on macOS, Linux, and Windows Subsystem for Linux. It does not require changes to your shell profile (no subshells, no complex initialization) beyond ensuring the install location is on your PATH. Installation can be done via npm, Homebrew, or by downloading the script directly with curl.
n is a command-line tool for installing and switching between multiple Node.js versions on one machine, no subshells, no profile changes, just an interactive menu and instant cached installs.
Mainly Shell. The stack also includes Shell, Bash.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.