Skip to content

How to install Yarn

Yarn is an alternative JavaScript package manager that many prefer over npm. To install it, log in via SSH and run:

Terminal window
npm install yarn
echo "alias yarn='node_modules/yarn/bin/yarn'" >> .bashrc && . ~/.bashrc

After this, you can use yarn on your account.