LinuxCommandLibrary

volta

A JavaScript Tool Manager that installs Node.js runtimes, npm and Yarn package managers, or any binaries from npm.

TLDR

List all installed tools

$ volta list
copy


Install the latest version of a tool
$ volta install [node|npm|yarn|package_name]
copy


Install a specific version of a tool
$ volta install [node|npm|yarn]@version
copy


Choose a tool version for a project (will store it in package.json)
$ volta pin [node|npm|yarn]@version
copy


Display help
$ volta help
copy


Display help for a subcommand
$ volta help [fetch|install|uninstall|pin|list|completions|which|setup|run|help]
copy

Copied to clipboard