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 with npm
.npm list
- works.npm list -g --depth=0
- works.ls `npm root -g`
- works.pkgutil --pkgs
will list all the packages installed with Apple's installer
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加