# Bare commandnpm list# 'ls' is an alias of listnpm ls# Don't show dependenciesnpm list --depth=0# Global modulesnpm list -g --depth=0# More infonpm lanpm ll# Show particular environment packagesnpm ls --only=devnpm ls --only=prod# Parseable view (tree view)npm ls --parseable=true