macos install yarn

Shell
brew install yarn

Source

Also in Shell: