Skip to main content
Changed package(s) to formulae(s).
Source Link
Nimesh Neema
  • 52.9k
  • 25
  • 151
  • 212

Executing brew list command shows a simple, alphabetically sorted list of all the installed packagesformulae and Casks (GUI apps) into two separate sections.

enter image description here

However, variousother required packagesformulae (dependencies) get automatically installed when installing a package using Homebrewformulae. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

enter image description here

The independently listed packagesformulae (e.g. gdbmbash and, opensslbrotli in the example output above, ca-certificates etc.) have no dependencies. The packagesformulae depicted as part of a tree structure have their dependency listed at an immediate lower level in the tree (e.g. package sqlitecocoapods requires that the package readlineruby which in tern requires libyaml to be installed). The packagesformulae listed at the leaf nodes in the tree structures have no further dependencies.

Dependencies visualised in a tree structure like this can help in easily getting rid of the unnecessary packages.

Executing brew list command shows a simple, alphabetically sorted list of all the installed packages.

However, various required packages (dependencies) get automatically installed when installing a package using Homebrew. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

The independently listed packages (e.g. gdbm and openssl in the example output above) have no dependencies. The packages depicted as part of a tree structure have their dependency listed at immediate lower level (e.g. package sqlite requires that the package readline to be installed). The packages listed at leaf nodes in the tree structures have no dependencies.

Dependencies visualised in a tree structure can help in easily getting rid of the unnecessary packages.

Executing brew list command shows a simple, alphabetically sorted list of all the installed formulae and Casks (GUI apps) into two separate sections.

enter image description here

However, other required formulae (dependencies) get automatically installed when installing a formulae. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

enter image description here

The independently listed formulae (e.g. bash, brotli, ca-certificates etc.) have no dependencies. The formulae depicted as part of a tree structure have their dependency listed at an immediate lower level in the tree (e.g. cocoapods requires ruby which in tern requires libyaml to be installed). The formulae listed at the leaf nodes in the tree structures have no further dependencies.

Dependencies visualised in a tree structure like this can help in easily getting rid of the unnecessary packages.

deleted 7 characters in body
Source Link
Nimesh Neema
  • 52.9k
  • 25
  • 151
  • 212

Executing brew list command shows a simple, alphabetically sorted list of all the installed packages.

However, various required packages (dependencies) get automatically installed when installing a package using Homebrew. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

The independently listed packages (e.g. gdbmgdbm and opensslopenssl in the example output above) have no depndenciesdependencies. The packages depicted as part of a tree structure have their dependency listed at immediate lower level (e.g. package sqlitesqlite requires that the package readlinereadline to be installed). The packages listed at leaf nodes in the tree structures have no dependencies.

Dependencies visualised in a tree structure can help in easily getting rid of the unnecessary packages.

Executing brew list command shows a simple, alphabetically sorted list of all the installed packages.

However, various required packages (dependencies) get automatically installed when installing a package using Homebrew. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

The independently listed packages (e.g. gdbm and openssl in the example output above) have no depndencies. The packages depicted as part of a tree structure have their dependency listed at immediate lower level (e.g. package sqlite requires that the package readline to be installed). The packages listed at leaf nodes in the tree structures have no dependencies.

Dependencies visualised in a tree structure can help in easily getting rid of the unnecessary packages.

Executing brew list command shows a simple, alphabetically sorted list of all the installed packages.

However, various required packages (dependencies) get automatically installed when installing a package using Homebrew. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

The independently listed packages (e.g. gdbm and openssl in the example output above) have no dependencies. The packages depicted as part of a tree structure have their dependency listed at immediate lower level (e.g. package sqlite requires that the package readline to be installed). The packages listed at leaf nodes in the tree structures have no dependencies.

Dependencies visualised in a tree structure can help in easily getting rid of the unnecessary packages.

Source Link
Nimesh Neema
  • 52.9k
  • 25
  • 151
  • 212

Executing brew list command shows a simple, alphabetically sorted list of all the installed packages.

However, various required packages (dependencies) get automatically installed when installing a package using Homebrew. It is possible to view the list of all the installed packages as a nicely formatted dependency tree. To view it, execute the following command:

brew deps --tree --installed

An example output is as shown below:

gdbm

openssl

python
├── gdbm
├── openssl
├── readline
├── sqlite
│   └── readline
└── xz

readline

sqlite
└── readline

xz

The independently listed packages (e.g. gdbm and openssl in the example output above) have no depndencies. The packages depicted as part of a tree structure have their dependency listed at immediate lower level (e.g. package sqlite requires that the package readline to be installed). The packages listed at leaf nodes in the tree structures have no dependencies.

Dependencies visualised in a tree structure can help in easily getting rid of the unnecessary packages.