Use NVM To Install Multiple Node Versions (2024)

What is NVM and how is it used?

This blog is intended for developerswho are looking to install multiple versions of node on their machine.

If you’re building a web application with any modern framework, chances are you’ll need to install node at some point. Since different projects have different environment setups, you may need to install multiple versions of node on your workstation. As node doesn’t provide any out-of-the-box functionality to have multiple versions of node installed on the same operating system, we'll have to use NVM, which stands for node version manager, to have multiple node versions.

Prerequisites

Before we install multiple node versions via NVM, you will need to uninstall the current node version.

Get the Current Node Version

Keep note of your current installed version of node before you proceed with the uninstallation, as we will need this later. Open cmd with administrator rights and type the following:

node --version

Use NVM To Install Multiple Node Versions (1)

Uninstall Node

Press Windows Key and search for Add or remove programs.

Use NVM To Install Multiple Node Versions (2)

Search node in the search box and click Uninstall byclicking the three dots.

Use NVM To Install Multiple Node Versions (3)

Install NVM

Download nvm-setup.exefrom this link. Double-click it and follow the prompts to install NVM, and don't worry; everything remainsdefault, so there is no need to customize anything.

Verify your installation by typing the following command in cmd.

nvm --version

Use NVM To Install Multiple Node Versions (4)

You'll see a version number in the output if your installation succeeds. Otherwise, you'll see node is not recognized as internal command in the output.

Usage

Remember in the prerequisites that we noted the node version. Well, we will use that now by typing the followingcommand in cmd to install node. For our example, we had 14.17.0, so we'll use that.

nvm install 14.17.0

Use NVM To Install Multiple Node Versions (5)

To use the installed version, we type the following in cmd.

nvm use 14.17.0

Use NVM To Install Multiple Node Versions (6)

One more handy command is nvm list which will display all the installed versions of node on yourworkstation. It'll alsotell you which version is currently being used by displaying '🞷' in front of the version number.

Use NVM To Install Multiple Node Versions (7)

Summary

That's it, folks. Now you can have multiple versions of node installed on your machine. To recap, run:

  • nvm install <version> to install a specified version.
  • nvm use <version> to switch between different versions.
  • nvm listto list all versions installed on your workstation.

Happy decoding!

Use NVM To Install Multiple Node Versions (2024)
Top Articles
What is Quantum computing? The supercomputers of the future
Regional bank earnings may expose critical weaknesses, former FDIC Chair Sheila Bair warns
Combat level
Unity Stuck Reload Script Assemblies
Ross Dress For Less Hiring Near Me
Here are all the MTV VMA winners, even the awards they announced during the ads
Bucks County Job Requisitions
Lexington Herald-Leader from Lexington, Kentucky
The Realcaca Girl Leaked
Moviesda Dubbed Tamil Movies
Swimgs Yung Wong Travels Sophie Koch Hits 3 Tabs Winnie The Pooh Halloween Bob The Builder Christmas Springs Cow Dog Pig Hollywood Studios Beach House Flying Fun Hot Air Balloons, Riding Lessons And Bikes Pack Both Up Away The Alpha Baa Baa Twinkle
Citi Card Thomas Rhett Presale
Günstige Angebote online shoppen - QVC.de
Https://Gw.mybeacon.its.state.nc.us/App
Assets | HIVO Support
Think Up Elar Level 5 Answer Key Pdf
Cvb Location Code Lookup
Walmart Double Point Days 2022
Amc Flight Schedule
SF bay area cars & trucks "chevrolet 50" - craigslist
Why do rebates take so long to process?
[PDF] NAVY RESERVE PERSONNEL MANUAL - Free Download PDF
Baja Boats For Sale On Craigslist
Craigslist St. Cloud Minnesota
South Bend Weather Underground
Costco Gas Hours St Cloud Mn
Bocca Richboro
Apparent assassination attempt | Suspect never had Trump in sight, did not get off shot: Officials
Cardaras Funeral Homes
Riverstock Apartments Photos
The Fabelmans Showtimes Near Baton Rouge
Imagetrend Elite Delaware
Uno Fall 2023 Calendar
Die wichtigsten E-Nummern
Ucm Black Board
Serenity Of Lathrop - Manteca Photos
How to Get Into UCLA: Admissions Stats + Tips
What Time Is First Light Tomorrow Morning
Daily Jail Count - Harrison County Sheriff's Office - Mississippi
The Complete Guide To The Infamous "imskirby Incident"
Vivek Flowers Chantilly
Plead Irksomely Crossword
Wunderground Orlando
boston furniture "patio" - craigslist
✨ Flysheet for Alpha Wall Tent, Guy Ropes, D-Ring, Metal Runner & Stakes Included for Hunting, Family Camping & Outdoor Activities (12'x14', PE) — 🛍️ The Retail Market
Killer Intelligence Center Download
Tyco Forums
bot .com Project by super soph
Wood River, IL Homes for Sale & Real Estate
Walmart Front Door Wreaths
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 6188

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.