From 6cfa99a08f9000a1b7dbe8a8f49c6d521a2b1640 Mon Sep 17 00:00:00 2001 From: Nicolas Kosinski Date: Thu, 16 Dec 2021 12:08:03 +0100 Subject: [PATCH] volta: add page (#7515) --- pages/common/volta.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/volta.md diff --git a/pages/common/volta.md b/pages/common/volta.md new file mode 100644 index 000000000..2922baa5e --- /dev/null +++ b/pages/common/volta.md @@ -0,0 +1,28 @@ +# volta + +> A JavaScript Tool Manager that installs Node.js runtimes, npm and Yarn package managers, or any binaries from npm. +> More information: . + +- List all installed tools: + +`volta list` + +- Install the latest version of a tool: + +`volta install {{node|npm|yarn|package_name}}` + +- Install a specific version of a tool: + +`volta install {{node|npm|yarn}}@version` + +- Choose a tool version for a project (will store it in `package.json`): + +`volta pin {{node|npm|yarn}}@version` + +- Display help: + +`volta help` + +- Display help for a subcommand: + +`volta help {{fetch|install|uninstall|pin|list|completions|which|setup|run|help}}`