commands.sh

npm doctor

all

Check the health of the npm environment.

More info →

Examples (5)

Run all default health checks for `npm`

Check the connection to the `npm` registry

npm doctor connection

Check the versions of Node.js and `npm` in use

npm doctor versions

Check for permissions issues with `npm` directories and cache

npm doctor permissions

Validate the cached package files and checksums

made by @shridhargupta | data from tldr-pages