Knowledgebase: PHP / Programming
How to Install Yarn
Posted by Tony B., Last modified by Tony B. on 12 February 2020 08:49 PM

Yarn is an alternative package manager for JavaScript which many prefer over npm. You can easily install it by logging into SSH on your account then running the following commands:

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

After this you can use 'yarn' on your account

(5 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).