9
4
What is the -bash
command to list all the packages installed locally on my machine?
I am using osX.
I tried the following so far:
dpkg -l
- doesn't work.apt --installed list
- doesn't work.pkgutil --pkgs
- lists only those installed with Apple installer. I need all those installed withnpm
.npm list
- works.npm list -g --depth=0
- works.ls `npm root -g`
- works.