how to show what is installed in npm code example Example: npm list global packages npm list -g --depth 0