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