Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 16.04 - Install Yarn Package Manager

The easiest way to install yarn is to use the following prog-exec command.

curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn -y

Yarn requires NodeJS. If you haven't already installed it, go here.

If you use prog exec, you can run the following command:

prog-exec "34/1" "c6a9ccef59c818e546fda89456bfe73f3a363f2ee17798411b067b0306f3ad75"


Last updated: 23rd April 2019
First published: 16th August 2018