Because is very annoying having to google, copy paste and remember all this thing
npm list -g --depth=0. Seems logical that you havenpm installandnpm removeto havenpm installed.
npm installednpm list (-g) --depth=0
npm installed
This would need the global flag and more. All relevant npmjs clients use ls to list installed packages. You can create an alias in your .bashrc or similar.
Also this is not a bug but a feature request.
Most helpful comment
This would need the global flag and more. All relevant npmjs clients use
lsto list installed packages. You can create an alias in your .bashrc or similar.Also this is not a bug but a feature request.