Difference between revisions of "Brew info --json"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/59569730
Tags: Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by 2 users not shown) | |||
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]]: | ||
+ | [[brew info --json postgresql]] | jq -r '.[].versioned_formulae[]' <ref>https://stackoverflow.com/a/59569730</ref> | ||
+ | |||
+ | [[brew info --json terraform]] | jq -r '.[].versioned_formulae[]' | ||
+ | |||
+ | == Activities == | ||
+ | * [[Homebrew: list available package versions]] | ||
== See also == | == See also == |
Latest revision as of 14:08, 16 March 2023
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]
brew info --json terraform | jq -r '.[].versioned_formulae[]'
Activities[edit]
See also[edit]
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: