1

How can I install Node Version Manager in Ubuntu 19.04?

Eliah Kagan
  • 117,780
  • 1
    did you try wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash ? – user2417031 Apr 23 '19 at 09:32
  • 6
    Possible duplicate of How to install a Specific Version of Node on Ubuntu Server As usual the OP will probably not read it and say it doesn't answer it, but it actually does. – karel Apr 23 '19 at 09:58
  • 2
    @karel: I don't see the duplication. The OP is asking how to install nvm, while the question you refer to specifically says "I don't want to use nvm for this." – Phil Cairns May 10 '19 at 09:40
  • 1
    Since you insist the specific quote that I was referring to is Users can switch between versions of Node.js at any time without needing to involve additional tools like nvm (Node Version Manager), for example: sudo snap refresh node --channel=10/stable. Unfortunately disagreements sometimes do arise, but the logic that I was referring to is that installing nvm is no longer necessary with the node snap package. – karel May 10 '19 at 09:46
  • @karel Your'e right though and good to know about that way as a snap package, but i need to use nvm for my progress – Venkat Aadithan Sep 19 '19 at 15:34

1 Answers1

1

Unfortunately nvm is not packaged in the Ubuntu repositories, so you cannot install it with apt (see this question).

To install it simply run either the cURL or Wget command in the installation instructions at nvm GitHub repository.