brew info --json

From wikieduonline
Revision as of 05:29, 8 September 2022 by Cry (talk | contribs)
Jump to navigation Jump to search

brew info --json helm@2
brew info --json postgresql

List available versions, note will not show current version and do not work on casks:

brew info --json postgresql | jq -r '.[].versioned_formulae[]' [1]

See also

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