Files
tldr/pages.zh/common/brew.md
K.B.Dharun Krishna 5c26174aa9 pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

37 lines
859 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# brew
> Linux 和 macOS 的包管理器。
> 更多信息:<https://docs.brew.sh/Manpage>.
- 安装最新稳定版的配方formula或木桶cask使用 `--devel` 安装开发版:
`brew install {{配方}}`
- 列出所有已安装的配方和木桶:
`brew list`
- 升级已安装的配方或木桶(如果没有指定,则升级所有已安装的配方/木桶):
`brew upgrade {{配方}}`
- 从 Homebrew 源存储库中获取最新版本的 Homebrew 以及所有配方和木桶:
`brew update`
- 显示有新版本的配方和木桶:
`brew outdated`
- 搜索可用的配方(即包)和木桶(即原生包):
`brew search {{包名}}`
- 显示有关配方或木桶的信息(版本、安装路径、依赖等):
`brew info {{配方}}`
- 检查本地 Homebrew 安装包是否有潜在问题:
`brew doctor`