Timeline for With Homebrew, how to check if a software/package is installed?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 10, 2024 at 20:15 | comment | added | jcsahnwaldt Reinstate Monica | Works, but may be quite slow. On my machine, brew list gradle >/dev/null takes over three seconds, because brew list prints all files (over 20K for Gradle) when stdout is not an interactive shell. :-( Alternative: brew list --versions gradle >/dev/null. On my box, this only takes 0.5 seconds. | |
| Feb 4, 2021 at 0:28 | comment | added | airtonix | can confirm. brew list [email protected] &>/dev/null || brew install [email protected]; works. | |
| Oct 2, 2020 at 1:52 | comment | added | svangordon | @JackMoody It sounds like what you want to do is add it as a dependency in the brew file using depends_on | |
| Jan 28, 2019 at 16:04 | comment | added | Jack Moody | How can this be done in a Brewfile? | |
| May 23, 2017 at 16:12 | vote | accept | qazwsx | ||
| May 22, 2017 at 0:02 | review | First posts | |||
| May 22, 2017 at 1:22 | |||||
| May 21, 2017 at 23:53 | history | answered | Josh | CC BY-SA 3.0 |