przędza instaluj globalną
npm install --global yarn
Pan Dziad
npm install --global yarn
npm install --global yarn
yarn global add nodemon --prefix /usr/local
# the `nodemon` command is now available globally:
which nodemon
/usr/local/bin/nodemon
nodemon
yarn global add <package>
I got global bins working by altering my path from what the docs say in the alternative installation section from export PATH="$PATH:$HOME/.yarn/bin" to export PATH="$PATH:$HOME/.yarn/bin:$HOME/.yarn-config/global/node_modules/.bin".
I use nvm with yarn installed through npm as a global package.