X Tutup
Skip to content

Commit 0fcc07e

Browse files
committed
document the uninstall command
1 parent 313be57 commit 0fcc07e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,31 @@ itch-setup uses a "multiverse" system to manage versions, tracked in `state.json
8888

8989
When an update is downloaded, it's stored as "ready". On the next relaunch (via `--relaunch`), the ready version becomes current.
9090

91+
### Uninstall
92+
93+
Run `itch-setup --uninstall` to remove the installation. The uninstaller will:
94+
95+
1. **Kill running processes** - Gracefully close any running instances of the app
96+
2. **Remove installation files** - Delete all versioned app directories (`app-<version>/`), icons, state files, and shortcuts
97+
3. **Clean app-managed data** - Remove logs, crash reports, and prerequisites from the user data directory
98+
99+
**What gets preserved:**
100+
101+
User data is intentionally kept to allow easy reinstallation:
102+
- User profiles and accounts (`users/`)
103+
- Preferences (`preferences.json`, `config.json`)
104+
- Game library database (`db/`)
105+
106+
**Platform-specific details:**
107+
108+
| Platform | Removes | User Data Location |
109+
|----------|---------|-------------------|
110+
| Windows | `%LOCALAPPDATA%\itch\`, Start Menu & Desktop shortcuts, registry uninstaller entry | `%APPDATA%\itch\` |
111+
| macOS | `~/Applications/itch.app`, `~/Library/Application Support/itch-setup/` | `~/Library/Application Support/itch/` |
112+
| Linux | `~/.itch/`, `~/.local/share/applications/io.itch.itch.desktop` | `~/.config/itch/` |
113+
114+
On Windows, the `itch-setup.exe` binary cannot delete itself while running, so it moves itself to a temporary trash directory (`%TEMP%\.itch-setup-trash\`).
115+
91116
### Broth
92117

93118
[Broth](https://broth.itch.zone) is itch.io's package distribution service. itch-setup fetches packages from Broth at URLs like:

0 commit comments

Comments
 (0)
X Tutup