npm i -g yarn
#if you are on linux use sudo before command like this
sudo npm i -g yarn
// here i nean install -g mean global insall if you want to install local remove -g
npm install --global yarn
and
https://classic.yarnpkg.com/latest.msi
brew install yarn
For Windows you can also install with:
choco install yarn
sudo apt install yarn
yarn set version stable
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg
CopyCopied!