Skip to content

Commit 39e63bf

Browse files
committed
feat: add uninstall instructions
1 parent 7565200 commit 39e63bf

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

cli.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,21 @@ chatwoot convs --help
7676
```
7777

7878
Issues and feedback: [github.com/chatwoot/cli](https://github.com/chatwoot/cli).
79+
80+
## Uninstalling
81+
82+
```bash
83+
chatwoot auth logout # remove API key from the OS keyring
84+
rm -rf ~/.chatwoot # delete config (~/.chatwoot/config.yaml)
85+
rm "$(command -v chatwoot)" # delete the binary
86+
```
87+
88+
If you set up shell completions, also remove them:
89+
90+
```bash
91+
rm -f ~/.local/share/bash-completion/completions/chatwoot # bash
92+
rm -f ~/.config/fish/completions/chatwoot.fish # fish
93+
# zsh: delete the `source <(... completion zsh -c)` line from ~/.zshrc
94+
```
95+
96+
On Windows, delete the extracted `chatwoot.exe` and the `%USERPROFILE%\.chatwoot` folder. If `CHATWOOT_API_KEY` is set in your environment, unset it in your shell rc — `auth logout` can't remove env-provided credentials.

0 commit comments

Comments
 (0)