/ yarn  

intall and use yarn

安装 使用 yarn

macos

1
brew install yarn

linux

1
2
3
4
5
apt-get install gnupg -y
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update -y && apt-get upgrade -y
apt-get install yarn -y