# tj/n

Node version management

Repository: https://github.com/tj/n
Canonical: https://ross.abutalabs.com/products/n
Language: Shell
License: MIT
License Family: permissive
Last push: 2026-08-22T00:34:18+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 16, longevity 100
- inputs: {"age_days": 5719, "days_push": 12, "days_rel": 469, "gap_med": 128.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 19510, forks 758 (observed 2026-08-28T04:11:28.742710+00:00)

## What it is
n is a simple BASH script for managing and switching between Node.js versions on macOS, Linux, and other unix-like systems. It installs, selects, and removes Node.js versions without subshells or profile setup.

## Use cases
- switch between node versions
- install a specific node.js version
- manage multiple node versions on linux
- upgrade node to latest lts
- remove old node versions
- pin node version for a project

## When to choose
- you want a minimal, no-subshell node version manager on macOS or Linux
- you prefer a single bash script over nvm's shell functions
- you need quick interactive switching of node versions

## When to avoid
- you are on native Windows shells like PowerShell, Git Bash, or Cygwin
- you need per-shell automatic version switching based on project files
- you need to manage other runtimes besides Node.js

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, package-manager
- domain: developer-tools, version-control
- platform: cli
- tags: nodejs, version-management, bash-script, nvm-alternative, command-line, macos, linux

## Member repositories
- tj/n (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:28.742710+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:00:05.988958+00:00, confidence not recorded.
  - readme: https://github.com/tj/n (fetched 2026-08-28T04:11:28.742710+00:00, sha f8225dd6bd36)
- Data as of 2026-08-30T08:39:29.467469+00:00.
