Uninstall Cua Spaces

Remove Cua Spaces, the cua CLI and everything they set up with one command. Your Spaces and their data stay unless you ask for them to go.

One command removes Cua Spaces, the cua CLI and what they set up on this computer. It lists what it found and asks before it removes anything. Run it again any time: a computer that has nothing left, or only part of Cua, is fine.

curl -fsSL https://cua.ai/uninstall.sh | sh

To see what it would do first, add --dry-run (-DryRun on Windows). It prints every step, lists the skills and MCP entries it would take out of each of your AI agents, and changes nothing:

curl -fsSL https://cua.ai/uninstall.sh | sh -s -- --dry-run

What it removes#

  • The Cua Spaces app.
  • The cua CLI, and the line the installer added to your shell profile (the user PATH on Windows).
  • The host service, after cua host remove, so this computer no longer shows up as a computer in your account.
  • The Cua Spaces skills and the cua MCP server in your AI agents, the way cua connect remove does. Entries from other tools stay, and so do Cua Driver's cua-driver skill and MCP server (see Other Cua tools).
  • Launch at login.
  • Your sign-in and the computer key: macOS Keychain items (including the old run.cua.ai one), Windows Credential Manager entries.
  • Cua's settings, caches and logs.

What it keeps#

Your Spaces and their data. That is the Space disks under ~/.cua, the local Cua Volume files and the Keyvault. Running Spaces are listed and stopped first, and their disks stay.

Pass --keep-data (-KeepData) to also keep ~/.cua (settings, caches, the computer key) and the app's settings, for a later reinstall. Programs, services, agent entries and your sign-in are still removed.

Delete Spaces and their data too#

--delete-spaces deletes the Spaces on this computer, the local Cua Volume files and the Keyvault. It cannot be undone.

curl -fsSL https://cua.ai/uninstall.sh | sh -s -- --delete-spaces

It lists the Spaces, stops the running ones, and asks you to type delete. --yes skips that question, so use it only in scripts you trust.

Options#

macOS and LinuxWindowsEffect
--keep-data-KeepDataKeep ~/.cua and the app's settings.
--delete-spaces-DeleteSpacesAlso delete Spaces and their data (not together with --keep-data).
--all-AllAlso run the Cua Driver uninstaller (and take its skill and MCP server out of your agents) and, on macOS, the Lume uninstaller. Lume keeps your VMs unless --delete-spaces is given too.
--prefix DIR-Prefix DIRAlso remove what install.sh --prefix DIR installed.
--no-modify-path-NoModifyPathNever edit your shell profile or user PATH.
--dry-run-DryRunPrint what would be removed, change nothing.
--yes-YesAccept every question. Without a terminal, nothing is removed unless you pass it.

Other Cua tools#

Cua Driver and Lume are separate products. The command above leaves them alone and says so, and that includes the cua-driver skill and MCP server in your AI agents: Claude Code, Codex, Cursor and the others keep using Cua Driver. Add --all to remove them too, or run their own uninstallers:

/bin/bash -c "$(curl -fsSL https://cua.ai/driver/uninstall.sh)"
/bin/bash -c "$(curl -fsSL https://cua.ai/lume/uninstall.sh)"

The Cua Driver uninstaller keeps its macOS permissions (Accessibility and Screen Recording), so installing it again needs no new approval. To revoke them as well, add --reset-permissions to its command.

To remove the same entries without the uninstaller, run cua connect remove --dry-run to see them, then cua connect remove. Add --include-cua-driver to take Cua Driver's skill and MCP server out as well.

With an older cua, one that has no --dry-run or --include-cua-driver on cua agents remove, the uninstaller skips that one step, because the older command also took out Cua Driver's skill and MCP server. It removes everything else as usual, finishes normally, and tells you that the cua MCP server and the Cua Spaces skills are still in your agents. To take them out, install the latest cua (curl -fsSL https://cua.ai/install.sh | sh -s -- --cli-only --yes) and run cua connect remove.

If a step needs your attention#

The command says what to run for anything it could not remove, and exits with a non-zero status.

  • An app or cua owned by root (installed from the .pkg, or with sudo): run the sudo rm line it prints, or run the whole uninstaller with sudo.
  • The Cua Spaces login item on macOS. The app registers itself, so a script cannot unregister it. With the app gone it has nothing to start. If a row is left in System Settings, Login Items, switch it off there.
  • A cua from pip, npm or Homebrew is not touched. Remove it with the tool that installed it.
  • The .deb on Linux needs root: sudo apt-get remove cua-spaces.

To install again: curl -fsSL https://cua.ai/install.sh | sh. See Install.