Olares/docs/zh/developer/install/cli/uninstall.md
2025-07-17 11:58:59 +08:00

19 lines
No EOL
1.8 KiB
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.

# `uninstall`
## 命令说明
卸载 Olares。
```bash
olares-cli uninstall [选项]
```
## 选项
| 选项 | 简写 | 用途 | 是否必需 | 默认值 |
|-------------|------|---------------------------------------------------------------------------------------------------------------------------------------|----------|----------------|
| `--all` | | 完全卸载 Olares包括在“准备”阶段安装的所有依赖项。 | 否 | 无 |
| `--base-dir`| `-b` | 设置 Olares 的基础目录。 | 否 | `$HOME/.olares` |
| `--help` | `-h` | 显示帮助信息。 | 否 | 无 |
| `--phase` | | 从指定阶段卸载 Olares 并回退到前一个阶段。 <br> 例如,使用 `--phase install` 将移除“安装”阶段执行的任务,使系统回退到“准备”阶段。 | 否 | `install` |
| `--quiet` | | 启用静默模式(不显示输出信息)。 | 否 | `false` |
| `--version` | `-v` | 指定要卸载的 Olares 版本。<br>建议先使用 `olares-cli info` 命令查看已下载的版本。 | 否 | 当前安装版本 |