Check what global packages has been installed and where.
Obtain a list globally installed libraries and their installation path.
npm list -g
Source