Difference between revisions of "Brew info --json"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  [[brew info --json helm@2]]
 
  [[brew info --json helm@2]]
 +
[[brew info --json postgresql]]
  
 
List available versions, note will not show current version and do not work on [[casks]]:
 
List available versions, note will not show current version and do not work on [[casks]]:

Revision as of 05:29, 8 September 2022

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: