list all brew installed packages code example
Example 1: how to find installed packages in ubuntu
apt list --installed
Example 2: list recursively all files linux
find <directory>/ -print
ls -R <directory>
Example 3: brew see list of installed packages
brew list and brew list --cask
Running brew list will show a list of all your installed Homebrew packages.
In addition, brew list --cask will provide the items installed using Homebrew Cask.