Getting Started
Install Volta
Unix Installation
On most Unix systems including macOS, you can install Volta with a single command:
curl https://get.volta.sh | bash
For bash, zsh, and fish, this installer will automatically update your console startup script. If you wish to prevent modifications to your console startup script, see Skipping Volta Setup. To manually configure your shell to use Volta, edit your console startup scripts to:
- Set the
VOLTA_HOME
variable to$HOME/.volta
- Add
$VOLTA_HOME/bin
to the beginning of yourPATH
variable
Windows Installation
For Windows, the recommended method of installing Volta is using winget:
winget install Volta.Volta
If you prefer, you can download the installer directly and run it manually to install Volta.
Windows Subsystem for Linux
If you are using Volta within the Windows Subsystem for Linux, follow the Unix installation guide above.
Select a default Node version
This is the version that Volta will use everywhere outside of projects that have a pinned version.
To select a specific version of Node, run:
volta install node@22.5.1
Or to use the latest LTS version, run:
volta install node