Linux Ubuntu Node.js Virtualenv Quick Start
The Tutorial shows you How to Install and Getting-Started Simply with Node.js Virtual Environments Manager for Ubuntu 15.10 Wily Werewolf GNU/Linux.
N is a Simple flavour of node/iojs binary management, no subshells, no profile setup, no convoluted api, just simple.
-
Open a Shell Terminal emulator session
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands) -
Check/Install cUrl Package.
which curl
To Install curl:
sudo apt-get install curl
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
Install Git.
sudo apt-get install git
-
Installing n Node.js Virtualenv manager
curl -L http://git.io -install | bash
-
Load N Path.
bash
-
Installing a Node.js Version.
n [x.y.z]
To install the Latest node.js Release:
n latest
To list all the node.js available versions:
n ls
-
Switching to a Node.js Version
It is the Same as the Install command:n [x.y.z]
-
For More look at the n Online Documentation