mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 22:04:43 +00:00
📝 Supplementary brew
This commit is contained in:
24
GUIDE.md
24
GUIDE.md
@@ -25,6 +25,8 @@
|
||||
|
||||
## 第二步:安装 Mole
|
||||
|
||||
**方法一:一键安装(推荐)**
|
||||
|
||||
1. **复制安装命令**
|
||||
用鼠标选中下面这一行,然后按 `Command (⌘)` + `C` 复制:
|
||||
|
||||
@@ -41,6 +43,16 @@
|
||||
- 等待几秒钟,会自动安装完成
|
||||
- 看到类似"安装成功"的提示就完成了
|
||||
|
||||
**方法二:通过 Homebrew 安装**
|
||||
|
||||
如果你的电脑已经安装了 Homebrew,可以使用这个命令:
|
||||
|
||||
```bash
|
||||
brew install tw93/tap/mole
|
||||
```
|
||||
|
||||
> 💡 什么是 Homebrew?一个 Mac 软件管理工具。如果你不知道这是什么,请使用方法一。
|
||||
|
||||
> ⚠️ 注意:第一次安装可能会要求你输入 Mac 的登录密码(输入时不会显示任何字符,这是正常的)
|
||||
|
||||
---
|
||||
@@ -152,6 +164,18 @@ Mole 有智能保护机制:
|
||||
- 磁盘快满了:立即清理
|
||||
- 日常使用:看个人习惯
|
||||
|
||||
### 如何更新 Mole?
|
||||
|
||||
**如果是一键安装的:**
|
||||
```bash
|
||||
mole update
|
||||
```
|
||||
|
||||
**如果是 Homebrew 安装的:**
|
||||
```bash
|
||||
brew upgrade mole
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 需要更多帮助?
|
||||
|
||||
13
README.md
13
README.md
@@ -17,6 +17,12 @@
|
||||
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash
|
||||
```
|
||||
|
||||
Or via Homebrew:
|
||||
|
||||
```bash
|
||||
brew install tw93/tap/mole
|
||||
```
|
||||
|
||||
> 📖 **不会用终端?** 查看 [小白使用指南](./GUIDE.md) 了解详细的教程
|
||||
|
||||
## Usage
|
||||
@@ -26,10 +32,15 @@ mole # Interactive main menu
|
||||
mole clean # Deep system cleanup
|
||||
mole clean --dry-run # Preview cleanup (no deletions)
|
||||
mole uninstall # Interactive app uninstaller
|
||||
mole update # Update Mole to the latest version
|
||||
mole --help # Show help
|
||||
```
|
||||
|
||||
**Update:**
|
||||
```bash
|
||||
brew upgrade mole # If installed via Homebrew
|
||||
mole update # If installed manually
|
||||
```
|
||||
|
||||
**Navigation:** Use arrow keys (↑/↓), Space to select, Enter to confirm, Q to quit or Ctrl+C to force exit.
|
||||
|
||||
## Examples
|
||||
|
||||
Reference in New Issue
Block a user