Uninstall the Polylane CLI
One command on macOS or Linux, the exact inverse of the installer. Fetching this URL from a terminal (curl, wget) returns the script itself.
curl -fsSL https://polylane.com/uninstall | sh What the script does
- Backs up
~/.polylane(including your credentials) to~/polylane-backup-<timestamp>.tar.gzbefore deleting anything, so you can restore or inspect later. Skip the backup withsh -s -- --no-backup. - Revokes the MCP API key the installer minted when your session is still signed in, and signs you out locally.
- Removes the
polylaneandpolylane-mapsMCP servers from every coding agent the installer wires up: Claude Code, Cursor, VS Code, opencode, Windsurf, pi, Warp, Cline, Roo, Gemini, Zed, and Codex. - Removes the Polylane agent skills, the
polylanesymlinks, and the PATH entries the installer added to your shell rc files (marker blocks and legacy exact lines alike). Hand-written config is never touched. - Uninstalls the Homebrew formula when the installer used the Homebrew fallback.
- Safe to re-run, and preview everything first with
sh -s -- --dry-run.
What stays
Your Polylane account, workspace, and connected integrations are not touched: manage or delete them at
console.polylane.com.
Project-scope agent configs written by polylane setup --project inside individual repositories stay in place too; remove those entries per repository.
Changed your mind?
curl -fsSL https://polylane.com/install | bash Reinstalling restores everything; signing back in reconnects your workspace.