Skip to content

Instantly share code, notes, and snippets.

@KritiAI
Created February 3, 2017 07:55
Show Gist options
  • Save KritiAI/e425dd12e6782c0269a266f5be5d1908 to your computer and use it in GitHub Desktop.
Save KritiAI/e425dd12e6782c0269a266f5be5d1908 to your computer and use it in GitHub Desktop.
Tips and Tricks for Node.js.
# Tips and Tricks for Node.js
# API Documentation: http://nodejs.org/api/all.html
# 1. Upgrade Node.js with NVM
sudo npm cache clean -f
curl https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh | bash # install NVM
sudo nvm install v0.10.29 # install node v0.10.29
sudo nvm use v0.10.29 # use node v0.10.29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment