How to find Homebrew packages location

The following command will help you finding the location where HomeBrew packages are installed:

brew --prefix wget

Output:

/opt/homebrew/opt/wget

Navigating to that location will show the packages installed by Homebrew