intall and use yarn

2020/6/21 yarn

# 安装 使用 yarn

# macos

brew install yarn

# linux

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