Difference between revisions of "Homebrew: list available package versions"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
  [[brew search]] yourpackagetosearchforversions | grep "@"
+
  [[brew search]] yourpackagetosearchforversions | grep "[[@]]"
  
 
  [[brew info --json postgresql]] | jq -r '.[].versioned_formulae[]' <ref>https://stackoverflow.com/a/59569730</ref>
 
  [[brew info --json postgresql]] | jq -r '.[].versioned_formulae[]' <ref>https://stackoverflow.com/a/59569730</ref>

Revision as of 16:02, 10 January 2023

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.

Related

See also

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