Skip to main content

Node Version Management

Volta is a modern NodeJS runtime and tooling manager similar to NVM. An advantage of Volta over nvm is that it can store metadata about the running version of node in a package.json file an install the correct version of node.

Install specific tools and runtimes with volta install node@<version> npm@<version>

Example Package.json Content

When you run volta pin [email protected] you might find that something similar to the below is injected into your package.json file:

  "volta": {
    "node": "18.19.0"
  }