How to Install NVM (Node Version Manager) for Node.js on Ubuntu 16.04 LTS

Node Version Manager, also known as NVM is used to control and manage multiple active versions of Node.js in one system. It is a command line utility and a bash script that allows programmers to shift between different versions of Node.js. They will be able to install any version using a single command and setting defaults using the command line utility.

Continue reading “How to Install NVM (Node Version Manager) for Node.js on Ubuntu 16.04 LTS”

Using Passenger with cPanel on CentOS 7

Phusion Passenger is a web application server that can run Ruby, Node.js, and Python applications on your webserver. It integrates with both Apache and Nginx to serve content to your visitors. Historically, this application was difficult to integrate with cPanel servers, which would combine the power of Ruby applications with the ease of management that cPanel provides, but recent advancements make setting up your Passenger module very simple. This easy walkthrough will show you how to add Passenger, Apache mod_passenger, and the supporting Ruby installation to cPanel. Continue reading “Using Passenger with cPanel on CentOS 7”

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

 

How To Install Node.js on Fedora 23

Node.js is a cross-platform runtime environment built on JavaScript. Applications also are written in JavaScript. Node.js lends itself to rapidly deploying, real-time web applications, and is considered extremely scalable due to its event-driven architecture. Node Version Manager allows admins to easily install and manage multiple node.js versions.

Pre-Flight Check

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

Step #1: Install NVM (Node Version Manager)

If NVM is not already installed, you’ll first want to follow our tutorial on How to Install NVM (Node Version Manager) for Node.js on Fedora 23 before proceeding.

Step #2: Check Available Node.js Versions

To view a list of the versions that are available for installation, run this command:

nvm ls-remote

In addition to selecting a specific version from the output of that command, you also can simply install the latest stable or unstable versions, as shown in the next step.

Step #3: Install a Node.js Version

  1. To download, compile, and install the latest version in the v0.12.x release of node.js, run this command:

    nvm install 0.12

  2. Now, to display currently activated version run:

    nvm current

    Which results in the following output:

    [root@host ~]# nvm current
    v0.12.9

    In this case, the server is running v0.12.9.

  3. To download, compile, and install the latest stable release of node.js, simply run:

    nvm install stable

  4. To show the currently activated version, run:

    nvm current

    In this case, that command returns the following output:

    [root@host ~]# nvm current
    v5.7.0

  5. You can list the currently installed node versions with the command:

    nvm ls

    which, in this case, produces the following output:

    [root@host ~]# nvm ls
    v0.12.9
    -> v5.7.0
    node -> stable (-> v5.7.0) (default)
    stable -> 5.7 (-> v5.7.0) (default)
    iojs -> N/A (default)

  6. Finally, if you want to modify PATH to use v0.12.9 again, you can use the following command:

    nvm use 0.12.9

    Which returns:

    [root@host ~]# nvm use 0.12.9
    Now using node v0.12.9 (npm v2.14.9)

 

How to Install Node.js via NVM (Node Version Manager) on Fedora 21

Node.js is a cross-platform runtime environment, configurable on Linux, OS X, and Microsoft Windows, and built on JavaScript. Applications, both server-side and networking, are also written in JavaScript. Node.js lends itself nicely to quick deploying, real-time web applications, and is generally thought of as extremely scalable due to its event-driven architecture.

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as: installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing Node.js via NVM (Node Version Manager) on a single Fedora 21 node.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.
  • If NVM is not already installed, then visit our tutorial on: How to Install NVM (Node Version Manager) for Node.js on Fedora 21

Continue reading “How to Install Node.js via NVM (Node Version Manager) on Fedora 21”

How to Install Node.js via NVM (Node Version Manager) on Fedora 20

Node.js is a cross-platform runtime environment, configurable on Linux, OS X, and Microsoft Windows, and built on JavaScript. Applications, both server-side and networking, are also written in JavaScript. Node.js lends itself nicely to quick deploying, real-time web applications, and is generally thought of as extremely scalable due to its event-driven architecture.

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as: installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing Node.js via NVM (Node Version Manager) on a single Fedora 20 node.
  • I’ll be working from a Liquid Web Self Managed Fedora 20 server, and I’ll be logged in as root.
  • If NVM is not already installed, then visit our tutorial on: How to Install NVM (Node Version Manager) for Node.js on Fedora 20

Continue reading “How to Install Node.js via NVM (Node Version Manager) on Fedora 20”

How to Install Node.js via NVM (Node Version Manager) on CentOS 7

Node.js is a cross-platform runtime environment, configurable on Linux, OS X, and Microsoft Windows, and built on JavaScript. Applications, both server-side and networking, are also written in JavaScript. Node.js lends itself nicely to quick deploying, real-time web applications, and is generally thought of as extremely scalable due to its event-driven architecture.

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing Node.js via NVM (Node Version Manager) on a single CentOS 7 node.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
  • If NVM is not already installed, then visit our tutorial on: How to Install NVM (Node Version Manager) for Node.js on CentOS 7

Continue reading “How to Install Node.js via NVM (Node Version Manager) on CentOS 7”

How to Install NVM (Node Version Manager) for Node.js on Fedora 21

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as: installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing NVM (Node Version Manager) on a single Fedora 21 node.
  • I’ll be working from a Liquid Web Self Managed Fedora 21 server, and I’ll be logged in as root.

Continue reading “How to Install NVM (Node Version Manager) for Node.js on Fedora 21”

How to Install NVM (Node Version Manager) for Node.js on Fedora 20

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as: installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing NVM (Node Version Manager) on a single Fedora 20 node.
  • I’ll be working from a Liquid Web Self Managed Fedora 20 server, and I’ll be logged in as root.

Continue reading “How to Install NVM (Node Version Manager) for Node.js on Fedora 20”

How to Install NVM (Node Version Manager) for Node.js on CentOS 7

The Node Version Manager allows admins to easily manage node.js versions. It’s a bash script that has the capability to manage multiple active versions of node.js, with functionality such as installation, executing commands with specific node.js versions, setting the PATH variable to use a specific node.js versions, etc.

Pre-Flight Check
  • These instructions are intended specifically for installing NVM (Node Version Manager) on a single CentOS 7 node.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.

Continue reading “How to Install NVM (Node Version Manager) for Node.js on CentOS 7”