Home > OS >  How to install yarn on PopOS Linux?
How to install yarn on PopOS Linux?

Time:10-04

I have been trying to install yarn in PopOS. It is installed but not globally for which I cannot use it in other project directories. In this case, can anybody suggest me the solution?

CodePudding user response:

Pop_OS! Is a debian>ubuntu based distro; therefore you can either use the built in "pop shop" to install yarn; or you can install it via CLI using the following command.

sudo apt install yarn

Before doing so, I would encourage you to ensure your repositories are updated by executing the following

sudo apt update && sudo apt upgrade

CodePudding user response:

Run npm install --global yarn for global installation.

  • Related