LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

volta

JavaScript toolchain version manager

TLDR

Install Node version
$ volta install node@[18]
copy
Install specific version
$ volta install node@[18.17.0]
copy
Install npm version
$ volta install npm@[9]
copy
Install yarn
$ volta install yarn
copy
Pin Node version for project
$ volta pin node@[18]
copy
List installed tools
$ volta list
copy
Show current versions
$ volta which node
copy
Fetch without installing
$ volta fetch node@[20]
copy

SYNOPSIS

volta [install] [pin] [list] [fetch] [options] [tool[@version]]

DESCRIPTION

volta manages JavaScript tool versions. It handles Node.js, npm, and Yarn with fast, reliable switching.Pin configuration stores versions in package.json. When entering a project directory, Volta automatically uses pinned versions.Installation is fast. Volta downloads pre-built binaries and caches them. Switching versions is instant.The shim system intercepts node, npm, and npx commands. It routes to the correct version based on project configuration.Global packages work correctly across Node versions. Volta manages them separately from Node installations.Zero configuration is needed after setup. Version switching happens transparently based on project requirements.

PARAMETERS

install TOOL

Install tool.
pin TOOL
Pin tool version for project.
uninstall TOOL
Remove tool.
list [all]
List installed tools.
fetch TOOL
Download without installing.
run TOOL
Run tool.
which TOOL
Show tool path.
setup
Configure shell.
--quiet
Suppress output.
--verbose
Verbose output.
--version
Show version.

INSTALL

brew install volta
copy
nix profile install nixpkgs#volta
copy

CAVEATS

Requires shell setup. Limited to Node.js ecosystem. Some edge cases with global packages. Newer than nvm/fnm.

HISTORY

Volta was created by LinkedIn around 2019. Written in Rust, it emphasizes speed and reliability for managing JavaScript toolchains.

SEE ALSO

node(1), npm(1), nvm(1), fnm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid