Tutorial by Examples

Using the apt package manager sudo apt-get update sudo apt-get install nodejs sudo apt-get install npm sudo ln -s /usr/bin/nodejs /usr/bin/node # the node & npm versions in apt are outdated. This is how you can update them: sudo npm install -g npm sudo npm install -g n sudo n stabl...
Standard installation All Node.js binaries, installers, and source files can be downloaded here. You can download just the node.exe runtime or use the Windows installer (.msi), which will also install npm, the recommended package manager for Node.js, and configure paths. Installation by package m...
Node Version Manager, otherwise known as nvm, is a bash script that simplifies the management of multiple Node.js versions. To install nvm, use the provided install script: $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash For windows there is a nvm-windows p...
Prerequisites sudo apt-get install build-essential sudo apt-get install python [optional] sudo apt-get install git Get source and build cd ~ git clone https://github.com/nodejs/node.git OR For the latest LTS Node.js version 6.10.2 cd ~ wget https://nodejs.org/dist/v6.3.0/node-v6.10....
Homebrew You can install Node.js using the Homebrew package manager. Start by updating brew: brew update You may need to change permissions or paths. It's best to run this before proceeding: brew doctor Next you can install Node.js by running: brew install node Once Node.js is installe...
You can find the installers on Node.js download page. Normally, Node.js recommends two versions of Node, the LTS version (long term support) and the current version (latest release). If you are new to Node, just go for the LTS and then click the Macintosh Installer button to download the package. I...
To install v6.x update the packages curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - Using the apt package manager sudo apt-get install -y nodejs
Node Version Manager (nvm) greatly simplifies the management of Node.js versions, their installation, and removes the need for sudo when dealing with packages (e.g. npm install ...). Fish Shell (fish) "is a smart and user-friendly command line shell for OS X, Linux, and the rest of the family&...
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...
First, there is a really nice wrapper for setting up n on your system. Just run: curl -L https://git.io/n-install | bash to install n. Then install binaries in a variety of ways: latest n latest stable n stable lts n lts Any other version n <version> e.g. n 4.4.7 If this version ...

Page 1 of 1