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.
- 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:
Step #2: Verify the Installation
The following command will verify the installation by returning the currently installed version:
In this case, that yields the following output:
[root@host ~]# nvm --version
- What is CentOS? Everything You Need to Know
- Check Apache Status with systemctl status and apachectl status Commands
- How to Find the Server Name Indication (SNI) Supporting Details
- How to Install Pip on CentOS 7
- Get Kernel Version for Linux: A Guide
- What Is a Time Series Database? How It Works & Use Cases
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.