Skip to content

Instantly share code, notes, and snippets.

@unlight
Last active April 9, 2020 22:53
Show Gist options
  • Select an option

  • Save unlight/e72374da92de9bd1b5a3829efe4afe4c to your computer and use it in GitHub Desktop.

Select an option

Save unlight/e72374da92de9bd1b5a3829efe4afe4c to your computer and use it in GitHub Desktop.
wsl.txt
# Using Ubuntu - upgrade nodejs
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install gcc g++ make
# show package
apt show PACKAGE
# upgrade
sudo apt-get update
sudo apt-get --only-upgrade install PACKAGE
# remove
sudo apt-get purge nodejs
# nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm ls-remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment