Various Node.js Installation Methods
From io.js back to Node.js, time to update my installation guide.
Install via Package Manager
Install in Ubuntu directly via apt:
|
|
However, it will not give you the latest version. So, use an alternative method.
For Node.js v0.12:
|
|
For io.js v3.x:
|
|
Install from the Source
Install build tools:
|
|
Clone the Node.js repository from GitHub:
|
|
Future Node.js releases will be from this repo: https://github.com/nodejs/node.
Check out a specific version:
|
|
Install globally:
|
|