← 返回命令列表

Linux command

brew-outdated 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List outdated packages

brew outdated

List outdated formulae only

brew outdated --formula

List outdated casks only

brew outdated --cask

Show verbose version information

brew outdated --verbose

Output as JSON

brew outdated --json

Include auto-updating casks

brew outdated --greedy

Quiet mode (names only)

brew outdated --quiet

说明

brew outdated lists installed formulae and casks that have newer versions available. By default, version information is shown in interactive shells. The command uses locally cached package information. Run brew update first to ensure accurate results.

参数

--formula
List outdated formulae only
--cask
List outdated casks only
--verbose, -v
Show detailed version information
--quiet, -q
List names only (takes precedence over --verbose)
--json
Output in JSON format (v2 includes both formulae and casks)
--greedy
Include casks with auto_updates or version :latest
--fetch-HEAD
Check upstream repository for HEAD installations

FAQ

What is the brew-outdated command used for?

brew outdated lists installed formulae and casks that have newer versions available. By default, version information is shown in interactive shells. The command uses locally cached package information. Run brew update first to ensure accurate results.

How do I run a basic brew-outdated example?

Run `brew outdated` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --formula do in brew-outdated?

List outdated formulae only