Node.js Installing Node.js Install Node.js from source on Centos, RHEL and Fedora

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

Prerequisites

  • git
  • clang and clang++ 3.4^ or gcc and g++ 4.8^
  • Python 2.6 or 2.7
  • GNU Make 3.81^

Get source

Node.js v6.x LTS

git clone -b v6.x https://github.com/nodejs/node.git

Node.js v7.x

git clone -b v7.x https://github.com/nodejs/node.git

Build

cd node
./configure
make -jX
su -c make install

X - the number of processor cores, greatly speeds up the build

Cleanup [Optional]

cd 
rm -rf node


Got any Node.js Question?