×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Nicolás Romero
Added: Sep 15, 2015 5:02 PM
Views: 17
how to install nodejs ubuntu
  1. wget http://nodejs.org/dist/latest/node-v4.0.0-linux-x64.tar.gz
  2. tar -C /usr/local --strip-components 1 -xzf node-v4.0.0-linux-x64.tar.gz
  3. ls -l /usr/local/bin/node
  4. ls -l /usr/local/bin/npm
  5. Run the following to verify (you may need to exit your shell and re-open):
  6. node -v
  7. You should see: v4.0.0
  8. npm -v
  9. You should see: 2.14.2  

2 comments

Nicolás Romero 2 years ago
tar -C /usr/local --strip-components 1 -xzf node-v4.1.0-linux-x64.tar.gz

Write a comment