how to see all the packages installed while npm install code example Example: npm list all installed packages npm list -g --depth=0