yarn & macOS & upgrade
yarn & macOS
https://yarnpkg.com/zh-Hans/docs/install#mac-stable
$ brew install yarn
$ brew upgrade yarn
$ yarn --version
配置文件
.profile、.bash_profile、.bashrc、.zshrc
export PATH="$PATH:/opt/yarn-[version]/bin"
export PATH="$PATH:`yarn global bin`"
https://github.com/yarnpkg/yarn/
bash install
$ curl -o- -L https://yarnpkg.com/install.sh | bash
$ curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]
upgrade
nvm
$ brew install yarn --without-node
ruby
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10928461.html
未经授权禁止转载,违者必究!