Volta
$ volta Official Low RiskVolta (volta) installs and transparently switches Node.js, npm, yarn, and pnpm versions per project via package.json volta pins. Its single Rust shim binary avoids slow shell-init hooks and exposes installed toolchains through volta list --format json.
brew install volta volta manages local binary shims and toolchain caches directly on disk; an MCP server adds unnecessary indirection for local Node version queries.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports volta list --format json, deterministic volta which, and volta run without interactive prompts, though install/pin emit human text.
volta list --format jsonoutputs structured JSON toolchain statevolta runexecutes commands under an explicit Node/npm version without TTY hooks
Local-only filesystem mutations inside ~/.volta/ and package.json; volta run isolates temporary toolchain overrides safely.
- Zero remote state mutations or credential exposure
volta pinupdates only the local projectpackage.json
Fast Rust binary distributed via Homebrew, winget, and installer script across macOS, Linux, and Windows, requiring ~/.volta/bin on PATH.
- Cross-platform Rust binary available via
brew install volta
Eliminates nvm shell-startup overhead and automatically selects the project's pinned Node version across subagent shells.
- Shim-based dispatch avoids sourcing bash/zsh startup scripts
Official volta-cli/volta repository under BSD-2-Clause license with broad Node ecosystem adoption.
- Maintained under
volta-cli/volta(BSD-2-Clause)
Clear CLI reference at docs.volta.sh and concise --help flags on every subcommand.
- Official command docs at docs.volta.sh
Security, Auth & Guardrails
No authentication required; downloaded Node/npm toolchains and pins are stored locally under ~/.volta/.
BSD-2-Clause open-source CLI; free to use with no account or API fees.
# Volta (volta) Agent Rules - Use `volta list --format json` to inspect active and cached Node runtimes. - Prefer `volta run --node <ver> <cmd>` for one-off checks instead of changing global defaults via `volta install`.
Agent-Ready Command Recipes
Safe Read-Only Queries
volta list --format json
Outputs active and cached Node, package manager, and global binary versions in structured JSON.
volta which node
Resolves the exact Node binary path selected for the current working directory.
Controlled Writes & Previews
volta pin node@22
Writes the volta.node pin into package.json without mutating global defaults.
Strengths for Agents
- +
volta list --format jsongives agents exact active and installed Node/package-manager metadata. - + Fast Rust shims work reliably in non-interactive subagent shells when
~/.volta/binis onPATH. - +
volta run --node <ver>lets agents test against alternate Node versions without altering project files.
Caveats & Pitfalls
- ! No
--dry-runflag onvolta installorvolta pin. - ! Requires
~/.volta/binahead of system binaries inPATH, andpnpmsupport remains experimental.