Reference
This page summarizes stable Nodeup contracts. For command syntax, see Command Reference.
Stable User-Facing Behavior
- Channel selectors are
lts,current, andlatest. - Runtime selector precedence is explicit selector, directory override, then global default.
- Shim dispatch is deterministic by executable name for
node,npm,npx,yarn, andpnpm. nodeup shim setupis the first-class idempotent setup and repair command for managed shims.package.jsonpackageManagersupport is strict foryarnandpnpm.nodeup self uninstallremoves data/cache/config only and reports binary, shim, and PATH cleanup as manual.- Shell completions are deterministic for supported shells and top-level command scopes.
- Human output color precedence is
--color>NODEUP_COLOR>NO_COLOR> stream-awareauto. NODEUP_COLORacceptsauto,always, ornever;NODEUP_LOG_COLORacceptsauto,always, ornever.nodeup show colorreports effective human stdout, human stderr, and log color decisions, ignored invalid color environment values, andNO_COLORconflicts.- JSON output never contains ANSI styling.
Supported Hosts
Nodeup supports runtime installation and shim dispatch on:
linux/amd64linux/arm64darwin/amd64darwin/arm64windows/amd64windows/arm64
In release asset names, amd64 is the asset terminology for the x64 CPU family.
x86 hosts are unsupported. Direct installers, runtime installation, and shim dispatch report unsupported hosts before selecting missing assets or planning delegated commands. JSON failures use kind: "unsupported-platform" and include os, architecture, platform_source, and the supported platform list.
Route Map
- Installation: installation methods, verification, supported hosts, storage roots, mirrors.
- Getting Started: first runtime install, defaults, overrides, run, shims, JSON verification.
- Command Reference: command-by-command behavior and output shapes.
- Runtime Resolution: selectors, precedence, overrides, defaults, release index cache.
- Shims and Package Managers: managed aliases and
packageManagerbehavior. - Output: human/JSON contracts, errors, color precedence, logs.
- Completions: shells, command scopes, raw script output.
- Releases: release artifacts, signing, direct-installer verification.
- Troubleshooting: common errors and recovery steps.