Homebrew: list available package versions

From wikieduonline
Revision as of 08:22, 1 April 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
brew search yourpackagetosearchforversions | grep "@"
brew info --json postgresql | jq -r '.[].versioned_formulae[]' [1]
Note will not show current version and do not work on casks.


brew search node  | grep "@"
node@10
node@14
node@16
node@18

Related

See also

  • https://stackoverflow.com/a/59569730
  • Advertising: