zshrc yarn code example Example 1: yarn for mac curl -o- -L https://yarnpkg.com/install.sh | bash Example 2: install yarn brew install yarn