Skip to content

Commit

Permalink
doc: update homebrew.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 20, 2023
1 parent 8a651c8 commit 3d13176
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions docs/homebrew.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,27 @@ $ brew info <formula>
`brew help` | 打印帮助信息
`brew help <sub-command>` | 打印子命令的帮助信息

### 依赖

显示``的依赖关系。 特定于``的其他选项可能是附加到命令

```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
```
<!--rehype:className=wrap-text -->

另见
---

Expand Down
2 changes: 1 addition & 1 deletion docs/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 数据类型
---------------
Expand Down

0 comments on commit 3d13176

Please sign in to comment.