Difference between revisions of "Brew info --json"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/59569730
Line 3: | Line 3: | ||
[[brew info --json postgresql]] | [[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]]: |
[[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 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
brew
:update | upgrade | autoupdate
|install
|uninstall
|services
|list
,cask
|cleanup
|doctor
|test
|link
|unlink | changelog
|tap
|info
|search
|install --cask
|analytics off
|--prefix | --version
|brew --help ]
Advertising: