Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Install NodeJS

ZeroC0D3 Team edited this page Jan 20, 2018 · 1 revision

Installation NodeJS

Install NodeJS for Ubuntu version 16.04

Setup Installation

  • Create script install_nodejs.sh

  • Add this line:

#!/usr/bin/env sh

NVM_VERSION='8.9.4'

##### INSTALL NODEJS #####
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh

chmod +x install_nvm.sh
bash install_nvm.sh

source $HOME/.profile

nvm install $NVM_VERSION

##### TEST NODEJS #####
node -v
  • Change executable script
chmod +x install_nodejs.sh

Running Installation

sh ./install_nodejs.sh
Clone this wiki locally