Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6802411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:13:12+00:00 2026-05-26T19:13:12+00:00

How to install multiple version of node.js in Ubuntu using NVM ?

  • 0

How to install multiple version of node.js in Ubuntu using NVM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:13:13+00:00Added an answer on May 26, 2026 at 7:13 pm

    prior knowledge

    How to use the terminal. You can for example use gnome-terminal.

    Install dependencies

    sudo apt-get install build-essential libssl-dev curl git-core
    

    Install NVM

    Below we will install NVM.

    Download nvm

    git clone https://github.com/creationix/nvm.git ~/.nvm
    

    To activate nvm, you need to source it from your bash shell

    echo -e "\n. ~/.nvm/nvm.sh" >> ~/.bashrc
    

    Install version of node.js

    In this example, I am going to install node v0.4.12. We first need open new bash session. You can also do this by typing bash again.

    $ bash
    $ nvm install v0.4.12 #This takes a while.
    

    To make the latest v0.4 branch default you do

    $ nvm alias default 0.4
    

    Troubleshooting

    When you don’t have all dependencies installed you can not compile/install node.js. Then you will need to clean up ~/.nvm

    $ rm -rf ~/.nvm/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you install multiple versions of python (I currently have the default 2.5, installed
The whole point of rvm is to be able to install multiple rubies and
I've had to install MbUnit multiple times now and it keeps coming with something
I want to use a single Doctrine install on our server and serve multiple
I want to install multiple versions of a package (say libX) from src. The
short version: how can I get rid of the multiple-versions-of-python nightmare ? long version:
I am trying to install DBD::Oracle using the CPAN shell in Strawberry Perl. I
How I can install multiple versions of a library in Delphi or C++Builder? For
I have multiple instances of a program and each has its own install directory
I have multiple versions of XCode installed on my MAC. When I install a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.