Difference between revisions of "Yarn"
Jump to navigation
Jump to search
(Created page with "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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ``` | ||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | 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 | echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | ||
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 | ||
+ | ``` | ||
+ | |||
+ | ``` | ||
+ | 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