diff --git a/docs/homebrew.md b/docs/homebrew.md index 64309bb..12f74e0 100644 --- a/docs/homebrew.md +++ b/docs/homebrew.md @@ -128,6 +128,27 @@ $ brew info `brew help` | 打印帮助信息 `brew help ` | 打印子命令的帮助信息 +### 依赖 + +显示`包`的依赖关系。 特定于`包`的其他选项可能是附加到命令 + +```bash +# 您还可以看到包和依赖关系图 +$ brew deps --tree --installed +$ brew deps git # 显示 git 依赖 +``` + +### 卸载 Homebrew + +- 使用官方卸载脚本卸载 Homebrew +- 验证文件是否已删除 + +```bash +$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" +$ sudo rm -rf /opt/homebrew +``` + + 另见 --- diff --git a/docs/python.md b/docs/python.md index e447015..1ac7b28 100644 --- a/docs/python.md +++ b/docs/python.md @@ -152,7 +152,7 @@ message += "Part 2." '10 + 10 = 20' ``` -查看: [Python F-Strings](#python-f-字符串-自-python-3-6-起) +查看: [Python F-Strings](#python-f-字符串自-python-36-起) Python 数据类型 ---------------