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.
Source: apple.stackexchange.com
how to list brew packages installed
brew list #on most macs /opt/homebrew/bin/brew list # mac M1 chips
brew check installed packages version
brew info <package_name>