Skip to content

Instantly share code, notes, and snippets.

@vlrmprjct
Last active March 16, 2019 17:04
Show Gist options
  • Select an option

  • Save vlrmprjct/d08dce67013f169c413f8f932f952aac to your computer and use it in GitHub Desktop.

Select an option

Save vlrmprjct/d08dce67013f169c413f8f932f952aac to your computer and use it in GitHub Desktop.
WSL
sudo apt-get update
// NODE JS
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs
// NPM
sudo apt-get install npm
// or
sudo curl https://www.npmjs.com/install.sh | sh
// NODE-SASS
sudo npm install -g node-sass
// or on error
sudo npm install -g --unsafe-perm node-sass
// YARN
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt remove cmdtest
sudo apt install yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment