Skip to content

Instantly share code, notes, and snippets.

@RidaRidss
Last active October 7, 2017 09:56
Show Gist options
  • Save RidaRidss/0c1718f64e1b5154d635011bff3abdcd to your computer and use it in GitHub Desktop.
Save RidaRidss/0c1718f64e1b5154d635011bff3abdcd to your computer and use it in GitHub Desktop.

install Yarn via Debian package repository on Ubuntu

 1. first configure repo for installation 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

 2. install yarn

      sudo apt-get update && sudo apt-get install yarn
 
 3. check version

      yarn --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment