Install

See this gist.

Upgrade

This command was suggested by NPM upgrade Yarn. This looks the same as the install command.

$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash

Alternatively, use NPM as install steps:

$ npm upgrade -g yarn