Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Last active May 24, 2020 00:31
Show Gist options
  • Save ederrafo/29ec3af0d53d21d79e584daffc4796ca to your computer and use it in GitHub Desktop.
Save ederrafo/29ec3af0d53d21d79e584daffc4796ca to your computer and use it in GitHub Desktop.

Installation

$ sudo apt-get install nodejs
$ sudo apt-get install npm
$ sudo npm install -g bower

Ese comando te devolverá la versión de Node.js que se ha instalado.

$ node -v
$ npm -v

Installation

In ubuntu 16.04 nodejs 8

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

Run to install Node.js 8.x LTS Carbon and npm

sudo apt-get install -y nodejs` 
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment