Skip to content

Instantly share code, notes, and snippets.

@karelhala
Created September 1, 2016 15:15
Show Gist options
  • Save karelhala/a6c839ffd5ac6dcc3d2a25b7f2b9728e to your computer and use it in GitHub Desktop.
Save karelhala/a6c839ffd5ac6dcc3d2a25b7f2b9728e to your computer and use it in GitHub Desktop.
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo ln -sf /usr/local/n/versions/node/5.4.1/bin/node /usr/bin/node
node –v (should show updated version now)
npm rebuild node-sass (Optional: if you use this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment