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 14.04 Trusty Tahr LTS 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
-
Installing n Node.js Virtualenv manager
curl -L http://git.io -install | 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