Installing Yarn in Linux (Ubuntu/Debian/Mint) via Terminal

  • Creator
    Topic
  • #11102 Reply
    Balvinder Singh
    Keymaster

    So, if you are here to check how to install Yarn via terminal, you are at right place. So lets check below.

    Steps for installation.

    1. Open Terminal and Enter command for adding Repo
      curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
      echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list<span id="mce_marker" data-mce-type="bookmark" data-mce-fragment="1">​</span>
    2. Now install yarn via command
      sudo apt update && sudo apt install yarn<span id="mce_marker" data-mce-type="bookmark" data-mce-fragment="1">​</span>
    3. check the installation
    4. Check the version
      yarn -v
      1.21.1

    So that is it, enjoy your yarn installation. Will add more things here, so keep checking back the forum.

Reply To: Installing Yarn in Linux (Ubuntu/Debian/Mint) via Terminal
Your information:




This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More