Menu
User

DropVPS Team

Writer: Cooper Reagan

How to Install Volta on Ubuntu 25.10

How to Install Volta on Ubuntu 25.10

Publication Date

11/13/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Volta is a fast, hassle-free JavaScript tool manager that lets you install and switch between Node.js, npm, Yarn, and PNPM versions easily. It’s lightweight, reliable, and perfect for modern developers working on multiple projects.

Step 1: Update System Packages

Make sure your system packages and dependencies are current.

sudo apt update && sudo apt upgrade -y

Step 2: Install cURL (If Not Installed)

Volta is installed via a simple shell script, which requires curl.
If it’s missing, install it with:

sudo apt install curl -y

Step 3: Install Volta

Use the official Volta installation script:

curl https://get.volta.sh | bash

Once the script finishes, restart your terminal or reload your shell:

source ~/.bashrc

For Zsh users:

source ~/.zshrc

Step 4: Verify Installation

Check that Volta is installed and available globally:

volta --version

You should see something like:

Volta 1.2.1

Step 5: Install Node.js with Volta

With Volta, you can install Node.js instantly — no manual downloads or sudo required:

volta install node

This also installs npm automatically.

Check your setup:

node -v
npm -v

Step 6: Install Other JavaScript Tools (Optional)

Volta can also manage Yarn and PNPM versions easily:

volta install yarn
volta install pnpm

To verify:

yarn -v
pnpm -v

Optional Step: Update or Remove Volta

To update Volta:

volta upgrade

To remove it completely:

rm -rf ~/.volta

Volta automatically pins specific tool versions per project. Just run volta pin node@22 inside your project folder — Volta will ensure every developer on the project uses the exact same setup.

Linux VPS
U
Loading...

Related Posts