Versions¶
| byGrok | npm v9 (~2022–2023) | npm v10 (~2023–2025) | npm v11 (~2025–2026) |
|---|---|---|---|
| Bundled with Node | 18 / 19 | 20 / 22 | 22+ / 24+ |
| Minimum Node engines | ≥14.17 | ≥18.17 || ≥20.5 | ≥18 / ≥20 / ≥22 (stricter) |
Install¶
curl -qL https://www.npmjs.com/install.sh | sh
Node Package Manager¶
| byGrok 2026 | Language | Cross-platform | Auto-switch (.nvmrc/.node-version) | Speed / Shell startup | Per-project tools (npm/yarn/pnpm) | Best for | Popularity (approx.) |
|---|---|---|---|---|---|---|---|
| nvm | Bash | Yes (nvm-windows separate) | Yes | Slow (2-3s delay) | No | Beginners, traditional users | Highest (~75k stars) |
| fnm | Rust | Yes | Yes (fastest) | Very fast (~instant) | No | Speed + simplicity | High |
| Volta | Rust | Yes | Yes (via package.json) | Very fast | Yes (pins npm/yarn/pnpm too) | Teams, consistent tooling | High |
| asdf | Shell | Yes | Yes | Medium | No (plugins for others) | Polyglot devs (multiple langs) | Medium-High |
| n | Bash | macOS/Linux mainly | No | Fast | No | Minimalist, no shell mods | Medium |
| nvs | JS | Yes | Yes | Medium | No | Windows focus, cross-platform | Lower |
- Speed + easy → fnm
- Full JS toolchain pinning → Volta
- Multi-language → asdf
- Classic → nvm
fnm¶
fnm install --lts
fnm env --use-on-cd --shell powershell | Out-String | Invoke-Expression # Windows
eval "$(fnm env --use-on-cd --shell bash)" # Linux
fnm list
fnm use 24.14.0
volta¶
curl https://get.volta.sh | bash
volta list
volta install node@18
nvm¶
Frameworks¶
cd project
npm install -g vinext --verbose
'DEBUG="true"' | Out-File -FilePath .dev.vars -Encoding utf8
vinext dev # Hot Module Replacement, :3000
vinext build # Production build
vinext deploy # Build and deploy to Cloudflare Workers