NPM: Basic Terminal Commands

I often forget the most used NPM commands so I’m just gonna write them here instead:
1. List NPM Packages:
npm ls -g --depth=0
2. Find Outdated Packages:
npm outdated -g --depth=0
3. Install or Update Packages:
npm install -g package-name
4. Update NPM Package ONLY*
npm install npm@latest -g
5. Update All Packages At Once**
npm update -g
6. Delete Packages
npm uninstall -g package-name
*Updating the NPM package doesn’t always work with the command above. In that case, the same command to update regular packages may work.
**This command updates all your installed packages with the exception of NPM, therefore, use command #4