Install a package globally |
npm i eslint -g |
yarn global add eslint |
Upgrade a global package |
npm update -g eslint |
yarn global add eslint |
Upgrade all global package |
npm update -g |
yarn global upgrade |
Uninstall a package globally |
npm uninstall -g create-react-app |
yarn global remove eslint |
List all globally installed packages |
npm ls -g --depth 0 |
yarn global list |
List one globally installed package |
npm ls create-react-app -g |
yarn global list create-react-app |
Show package latest version |
npm show create-react-app version |
*** |