Created
August 5, 2020 23:25
-
-
Save matthewhartman/dfc60bf4cd5bb0d103a3ad3c5475ba5f to your computer and use it in GitHub Desktop.
Revisions
-
matthewhartman created this gist
Aug 5, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ # Installing Yarn on Debian Import the repository's GPG key ```bash curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - ``` Enable the Yarn APT repository ```bash echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list ``` If you have Node already installed using NVM, simply update the package index and install Yarn without Node ```bash sudo apt update && sudo apt install --no-install-recommends yarn ``` Verify Yarn is installed ```bash yarn --version ``` Source: https://linuxize.com/post/how-to-install-yarn-on-debian-9/