yarn global add nodemon --prefix /usr/local # the `nodemon` command is now available globally: which nodemon /usr/local/bin/nodemon nodemon
yarn global <add/bin/list/remove/upgrade> [--prefix]
$ yarn global add xxx
yarn global add <package>