How do I list all installed packages from the command line in bash / osX

Mowzer

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:

  1. dpkg -l - doesn't work.
  2. apt --installed list - doesn't work.
  3. pkgutil --pkgs - lists only those installed with Apple installer. I need all those installed with npm.
  4. npm list - works.
  5. npm list -g --depth=0 - works.
  6. ls `npm root -g` - works.
DrZoo

pkgutil --pkgs will list all the packages installed with Apple's installer

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How do I get a list of all AVAILABLE packages from the repositories that are configured from a command line?

分類Dev

How to list all installed packages

分類Dev

How do I upgrade all of my installed packages in OpenWRT?

分類Dev

How to list packages from a ppa/source in command line?

分類Dev

How do I nice a for loop on the bash command line?

分類Dev

On Gentoo how do I find list of packages installed after some specific date?

分類Dev

How do I find add-ons for packages when using the command line?

分類Dev

How do I launch the Android emulator from the command line?

分類Dev

How do I run this script with sudo from the command-line?

分類Dev

How do I download documentation and make it accessible from the command line?

分類Dev

How do I change the desktop background from command line?

分類Dev

Check if all listed packages are installed in bash

分類Dev

How to list all applications displayed from add/remove WinXP/Win7 via command-line?

分類Dev

List all packages from a repository

分類Dev

How can I get snappy to list all available snap packages?

分類Dev

How can I list all applications installed in my system?

分類Dev

How do I upgrade all scoped packages with Yarn?

分類Dev

npm installed binaries not available from command line

分類Dev

How to fix packages installed from debian sources?

分類Dev

how do I refresh my wired ethernet connection from command line?

分類Dev

How do I update a single nuget package in a project from the command line?

分類Dev

How do I vs2019 for C++ from command line with a specified config file?

分類Dev

How do I check only security updates from the command-line?

分類Dev

How do I find a list of Homebrew's installable packages?

分類Dev

How can I shorten my command line (bash) prompt?

分類Dev

How do I subtract these 2 list in Bash

分類Dev

How to create a user for Postgres from the command line for bash automation

分類Dev

How to read values from command line in bash script as given?

分類Dev

How can I read line by line from a variable in bash?

Related 関連記事

  1. 1

    How do I get a list of all AVAILABLE packages from the repositories that are configured from a command line?

  2. 2

    How to list all installed packages

  3. 3

    How do I upgrade all of my installed packages in OpenWRT?

  4. 4

    How to list packages from a ppa/source in command line?

  5. 5

    How do I nice a for loop on the bash command line?

  6. 6

    On Gentoo how do I find list of packages installed after some specific date?

  7. 7

    How do I find add-ons for packages when using the command line?

  8. 8

    How do I launch the Android emulator from the command line?

  9. 9

    How do I run this script with sudo from the command-line?

  10. 10

    How do I download documentation and make it accessible from the command line?

  11. 11

    How do I change the desktop background from command line?

  12. 12

    Check if all listed packages are installed in bash

  13. 13

    How to list all applications displayed from add/remove WinXP/Win7 via command-line?

  14. 14

    List all packages from a repository

  15. 15

    How can I get snappy to list all available snap packages?

  16. 16

    How can I list all applications installed in my system?

  17. 17

    How do I upgrade all scoped packages with Yarn?

  18. 18

    npm installed binaries not available from command line

  19. 19

    How to fix packages installed from debian sources?

  20. 20

    how do I refresh my wired ethernet connection from command line?

  21. 21

    How do I update a single nuget package in a project from the command line?

  22. 22

    How do I vs2019 for C++ from command line with a specified config file?

  23. 23

    How do I check only security updates from the command-line?

  24. 24

    How do I find a list of Homebrew's installable packages?

  25. 25

    How can I shorten my command line (bash) prompt?

  26. 26

    How do I subtract these 2 list in Bash

  27. 27

    How to create a user for Postgres from the command line for bash automation

  28. 28

    How to read values from command line in bash script as given?

  29. 29

    How can I read line by line from a variable in bash?

ホットタグ

アーカイブ