Skip to content

Instantly share code, notes, and snippets.

@JosefJezek
Last active July 13, 2019 19:03
Show Gist options
  • Select an option

  • Save JosefJezek/9069601 to your computer and use it in GitHub Desktop.

Select an option

Save JosefJezek/9069601 to your computer and use it in GitHub Desktop.
Node.js

Node.js

io.js

Install on Ubuntu

curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt install --yes nodejs build-essential
sudo npm install npm bower grunt-cli yo -g

Upgrade

nvm install lts/* --reinstall-packages-from=node
sudo npm install n -g
sudo n stable
sudo npm update -g bower
sudo npm update -g yo

nvm

nvm alias default v10

Fix

npm cache clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment