Difference between revisions of "Yarn"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
sudo apt update | sudo apt update | ||
sudo apt install yarn | sudo apt install yarn | ||
| + | ``` | ||
| + | |||
| + | ``` | ||
| + | curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\ | ||
| + | sudo apt-get install -y nodejs | ||
``` | ``` | ||
Revision as of 19:57, 8 May 2023
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 sudo apt update sudo apt install yarn
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\ sudo apt-get install -y nodejs