Difference between revisions of "Yarn"

From UVOO Tech Wiki
Jump to navigation Jump to search
 
Line 9: Line 9:
 
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
 
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
 
sudo apt-get install -y nodejs
 
sudo apt-get install -y nodejs
 +
```
 +
 +
```
 +
yarn create vite papi --template react-ts
 
```
 
```

Latest revision as of 19:58, 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
yarn create vite papi --template react-ts