How To Install NVM (Node Version Manager) on Fedora 23

Node Version Manager allows you to quickly install and manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js. It can be used to install node.js versions, execute commands with a specific node.js version, set the PATH variable to use a specific node.js version, and more. To learn more, visit the project’s Github page.

Pre-Flight Check

  • These instructions are intended specifically for installing NVM (Node Version Manager) on Fedora 23. To install NVM on another operating system, follow our guides for Fedora 21, CentOS 7 and Ubuntu 14.04 LTS. To install Node.js via NVM on Fedora 23, refer to our Knowledge Base article.
  • We’ll be logging in as root to a Liquid Web Self Managed Fedora 23 server.

Step #1: Install NVM (Node Version Manager)

Install the script with the following command:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash

After running the above command, you may be instructed to close and re-open your terminal to begin using NVM. However, you also can begin using NVM immediately by running the following command:

source ~/.bashrc

Step #2: Verify the Installation

The following command will verify the installation by returning the currently installed version:

nvm --version

In this case, that yields the following output:

[root@host ~]# nvm --version
0.30.2

 

Be Sociable, Share!
Here's 75 % off, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support