Difference between revisions of "Homebrew: list available package versions"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/59569730
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | [[brew search]] yourpackagetosearchforversions | grep "[[@]]" | ||
+ | |||
+ | [[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]]. | ||
− | |||
− | + | brew search [[node.js|node]] | grep "@" | |
+ | node@10 | ||
+ | node@14 | ||
+ | node@16 | ||
+ | node@18 | ||
+ | == Related == | ||
+ | * <code>[[ brew info --json xz]]</code> | ||
+ | * <code>[[snap list --all]]</code> | ||
+ | * <code>[[brew list --versions]]</code> | ||
+ | * [[Package managers: list packages]] | ||
== See also == | == See also == | ||
Line 10: | Line 23: | ||
[[Category:Brew]] | [[Category:Brew]] | ||
+ | [[Category:Package managers]] |
Latest revision as of 08:22, 1 April 2024
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[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: