mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 20:15:07 +00:00
docs: tidy quick start formatting
This commit is contained in:
21
README.md
21
README.md
@@ -26,22 +26,22 @@
|
|||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
**Install via Homebrew:**
|
**Install via Homebrew**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install mole
|
brew install mole
|
||||||
```
|
```
|
||||||
|
|
||||||
**Or via script:**
|
**Or via script**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Optional args: -s latest for main branch code, -s 1.17.0 for specific version
|
# Optional args: -s latest for main branch code, -s 1.17.0 for specific version
|
||||||
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash
|
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
**Windows:** Mole is built for macOS. An experimental Windows version is available in the [windows branch](https://github.com/tw93/Mole/tree/windows) for early adopters.
|
> Note: Mole is built for macOS. An experimental Windows version is available in the [windows branch](https://github.com/tw93/Mole/tree/windows) for early adopters.
|
||||||
|
|
||||||
**Run:**
|
**Run**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mo # Interactive menu
|
mo # Interactive menu
|
||||||
@@ -60,13 +60,16 @@ mo update --nightly # Update to latest unreleased main build, script in
|
|||||||
mo remove # Remove Mole from system
|
mo remove # Remove Mole from system
|
||||||
mo --help # Show help
|
mo --help # Show help
|
||||||
mo --version # Show installed version
|
mo --version # Show installed version
|
||||||
|
```
|
||||||
|
|
||||||
# Safe preview before applying changes
|
**Preview safely**
|
||||||
|
|
||||||
|
```bash
|
||||||
mo clean --dry-run
|
mo clean --dry-run
|
||||||
mo uninstall --dry-run
|
mo uninstall --dry-run
|
||||||
mo purge --dry-run
|
mo purge --dry-run
|
||||||
|
|
||||||
# --dry-run also works with: optimize, installer, remove, completion, touchid enable
|
# Also works with: optimize, installer, remove, completion, touchid enable
|
||||||
mo clean --dry-run --debug # Preview + detailed logs
|
mo clean --dry-run --debug # Preview + detailed logs
|
||||||
mo optimize --whitelist # Manage protected optimization rules
|
mo optimize --whitelist # Manage protected optimization rules
|
||||||
mo clean --whitelist # Manage protected caches
|
mo clean --whitelist # Manage protected caches
|
||||||
@@ -160,7 +163,7 @@ Use `mo optimize --whitelist` to exclude specific optimizations.
|
|||||||
|
|
||||||
### Disk Space Analyzer
|
### Disk Space Analyzer
|
||||||
|
|
||||||
By default, Mole skips external drives under `/Volumes` for faster startup. To inspect them, run `mo analyze /Volumes` or a specific mount path.
|
> Note: By default, Mole skips external drives under `/Volumes` for faster startup. To inspect them, run `mo analyze /Volumes` or a specific mount path.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mo analyze
|
$ mo analyze
|
||||||
@@ -226,10 +229,10 @@ Select Categories to Clean - 18.5GB (8 selected)
|
|||||||
● backend-service 2.5GB | node_modules
|
● backend-service 2.5GB | node_modules
|
||||||
```
|
```
|
||||||
|
|
||||||
> We recommend installing `fd` on macOS.
|
> Note: We recommend installing `fd` on macOS.
|
||||||
> `brew install fd`
|
> `brew install fd`
|
||||||
|
|
||||||
> **Use with caution:** This permanently deletes selected artifacts. Review carefully before confirming. Projects newer than 7 days are marked and unselected by default.
|
> Safety: This permanently deletes selected artifacts. Review carefully before confirming. Projects newer than 7 days are marked and unselected by default.
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><strong>Custom Scan Paths</strong></summary>
|
<summary><strong>Custom Scan Paths</strong></summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user