Install Yarn Ubuntu 16.04 (Linux Mint 18.1) Install Yarn Ubuntu 16.04 (Linux Mint 18.1) node.js node.js

Install Yarn Ubuntu 16.04 (Linux Mint 18.1)


On Ubuntu Linux, you can install Yarn via Debian package repository. You will first need to configure the repository:

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

Then you can simply:

sudo apt-get update && sudo apt-get install yarn

More information here


I was unable to install Yarn on Ubuntu 16.04 using the accepted answer but found it easy with npm:

npm install -g yarn

Then check install / version with

yarn --version


See on Installation | Yarn | Linux tab

There are instructions for several linux distributions