yarn global add nodemon --prefix /usr/local # the `nodemon` command is now available globally: which nodemon /usr/local/bin/nodemon nodemon
$ npm install --save npm-install-global
yarn global add <package>
yarn global add <package...>