Installation
Yarn is intended to be used with Yarn Switch, a tool letting you use different Yarn versions depending on the project you’re working on.
curl -sS https://repo.yarnpkg.com/install | bashOnce Yarn Switch is ready, just initialize a new project:
Updating Yarn
Section titled “Updating Yarn”Any time you’ll want to update Yarn to the latest version, just run:
Yarn will then configure your project to use the most recent stable binary.