yarn install globally package code example Example: yarn add global yarn global <add/bin/list/remove/upgrade> [--prefix]