brew reinstall
only reinstalls the package itself, not its dependencies. I want to reinstall them all.
Asked
Active
Viewed 1,232 times
1

jonrsharpe
- 115,751
- 26
- 228
- 437

HappyFace
- 3,439
- 2
- 24
- 43
-
This is a site about programming, not general computer/software questions. – linuxfan says Reinstate Monica Sep 27 '21 at 15:26
-
@linuxfansaysReinstateMonica Precedent for questions like these has already been set on Stack Overflow. For example: https://stackoverflow.com/questions/7323261/uninstall-remove-a-homebrew-package-including-all-its-dependencies?rq=1 However, I do agree that Super User is probably more appropriate: https://superuser.com/ – Cosmo Aug 23 '22 at 20:14
1 Answers
1
The following command should do the trick:
brew reinstall $(brew deps package) package
...where "package" is the name of the package you would like to reinstall.

Cosmo
- 210
- 5
- 9