how to view all things installed with npm code example Example: npm list global packages npm list -g --depth 0