Difference between revisions of "Homebrew: list available package versions"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/59569730
Line 2: | Line 2: | ||
[[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> |
:Note will not show current version and do not work on [[casks]]. | :Note will not show current version and do not work on [[casks]]. | ||
Revision as of 08:49, 11 October 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.
brew search node | grep "@" node@10 node@14 node@16 node@18
Related
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: