Can I do a dry run with homebrew to see the details of what will be installed and how?

Is it possible to run in a verbose mode where it doesn't actually install the package, but just details from where and how it will be install the package?


Solution 1:

You can run brew outdated to see a list of outdated packages that will be upgraded when running brew upgrade.

Solution 2:

The closest you'll find is to show the dependencies of the package you're trying to install:

$ brew deps ruby

Will list the packages of ruby. You can then use:

$ brew list

to see which packages you have installed. From these two commands, you will be able to tell which packages will be installed by brew install ruby