171 total views, 0 views today
This tutorial is based on yarn website, you can see it here.
So letâs start! To install yarn we need to add the package repository with the following commands:
$Â curlÂ -sSÂ /dl.yarnpkg.com/debian/pubkey.gpgÂ |Â sudoÂ apt-keyÂ addÂ -
$ echo "deb /dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list deb
With the package repository added, just run the command to install, but you must confirm the download when requested:
$ sudo apt-get update && sudo apt-get install yarn
After this if everything is ok you can check the yarn version installed like this:
$ yarn -v
That is it!
Hope that you enjoyed.
Feel free to leave your comments.
See you next time!