Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
[x] ran brew update and can still reproduce the problem?
[ ] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?
What you were trying to do (and why)
Get a list of formulae and their dependencies.
What happened (include command output)
brew deps --installed returned both formulae and Casks. I couldn't find any flag to filter out Casks.
brew deps --help seems to suggest that it only works with formulae. I also don't think it's possible for Casks to have dependencies. If that's the case, it should not return Casks. If that's not the case, there should be a flag to filter out Casks.
$ brew config
HOMEBREW_VERSION: 2.5.12-369-gc003070
ORIGIN: https://github.com/Homebrew/brew
HEAD: c00307024ffe7b6de9f87305830f0c867e1e8a19
Last commit: 43 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 332cd9f5cb02a89c9df3f9ff4392cf8575b899dc
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 11.0 build 1100
Git: 2.29.2 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: 11.3.1
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you an update run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/more/.
Warning: The following directories do not exist:
/usr/local/sbin
You should create these directories and change their ownership to your account.
sudo mkdir -p /usr/local/sbin
sudo chown -R $(whoami) /usr/local/sbin
Bug report
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
Get a list of formulae and their dependencies.
What happened (include command output)
brew deps --installed
returned both formulae and Casks. I couldn't find any flag to filter out Casks.Command output
What you expected to happen
brew deps --help
seems to suggest that it only works with formulae. I also don't think it's possible for Casks to have dependencies. If that's the case, it should not return Casks. If that's not the case, there should be a flag to filter out Casks.Step-by-step reproduction instructions (by running
brew
commands)brew deps --installed
Output of
brew config
andbrew doctor
commands