how to check how many npm pakages are installed in unbutu code example Example: npm list global packages npm list -g --depth 0