Navigate:
~$NVER0.1%

n: Node.js Version Management Tool

A command-line utility for installing, switching between, and managing multiple Node.js versions on Unix-like systems.

LIVE RANKINGS • 10:20 AM • STEADY
OVERALL
#372
12
DEVELOPER TOOLS
#78
7
30 DAY RANKING TREND
ovr#372
·Devel#78
STARS
19.5K
FORKS
763
7D STARS
+13
7D FORKS
+1
See Repo:
Share:

Learn more about n

n is a Node.js version manager implemented as a BASH script that provides interactive version switching and management capabilities. It downloads and caches Node.js versions locally, then creates symbolic links or copies files to switch between versions without requiring shell configuration or subshells. The tool operates by managing Node.js installations in a centralized directory structure, typically under /usr/local, and provides both interactive and command-line interfaces for version selection. It supports various version specifiers including semantic versions, LTS releases, and project-specific version files like .nvmrc and package.json engines.

n

1

No Shell Configuration

Operates without requiring profile setup, subshells, or shell-specific configuration files. Works across different shell environments while being implemented as a BASH script.

2

Interactive Selection

Provides a built-in interactive menu for browsing and selecting from cached Node.js versions using keyboard navigation. Supports immediate switching between installed versions.

3

Project Integration

Automatically reads version requirements from .nvmrc, .node-version, and package.json files. Supports semantic version ranges and project-specific version resolution.



vv10.2.0

This release adds support for setting the download architecture via environment variable.

  • environment variable N_ARCH to set architecture for download, like using --arch
vv10.1.0

This release adds new download and cleanup functionality along with improved .nvmrc file support and security enhancements.

  • --cleanup option to delete cached version after install for a one-shot install
  • download command to download Node.js version into cache
  • document using --download with run/exec/which in README
  • support trailing comments in .nvmrc file
  • mask password in download URL when displayed
vv10.0.0

Major release switching from Node.js to jq for reading package.json files and optimizing version lookups.

  • if jq is available, use jq for reading engines from package.json instead of using node
  • avoid a network lookup if auto or engine find a fully specified numeric version


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers