| title | Uninstalling |
|---|---|
| description | How to uninstall Nanocoder and clean up configuration files |
| sidebar_order | 3 |
If you're unsure how Nanocoder was installed, find the binary location first:
which nanocoderThis will show the path — for example:
/usr/local/bin/nanocoderor/usr/local/lib/node_modules/...→ npm/opt/homebrew/bin/nanocoderor.../Cellar/...→ Homebrew/nix/store/...→ Nix
npm uninstall -g @nanocollective/nanocoderbrew uninstall nanocoderIf installed via nix run, no uninstall is needed. If added to your system packages, remove it from your configuration.nix or flake.nix and rebuild.
If nanocoder still works after uninstalling, your shell may have cached the old path. Restart your terminal or run:
hash -rIf it persists, you may have multiple installations. Run which nanocoder again to find the remaining one and uninstall using the appropriate method above.
To also remove Nanocoder's configuration and preferences:
# macOS
rm -rf ~/Library/Preferences/nanocoder/
# Linux
rm -rf ~/.config/nanocoder/
# Per-project config (in each project directory)
rm -f .mcp.json
rm -rf .nanocoder/