Setup Yarn

Introduction

The Yarn package manager is based on the Javascript runtime Node.js.

This documentation describes how to setup the required packages on Debian GNU/Linux system and derivates like Ubuntu.

Setup

# Add Node.js package repository
curl -sL https://deb.nodesource.com/setup_6.x | bash -

# Install Node.js
apt install --yes nodejs

# Install Yarn package manager (globally)
npm install --global yarn