Uninstall
Everything can be removed with the same scripts that installed it, plus (optionally) a few leftover files. Removal never reaches into your projects — your code is untouched.
Agent
curl -fsSL https://16co.de/install_agent.sh | sh -s -- uninstall$env:CODE_ACTION='uninstall'; irm https://16co.de/install_agent.ps1 | iexThis stops the agent, removes the app/package/service, and prints what it did. It deliberately keeps ~/.code (your machine's identity) so a reinstall doesn't need a new sign-in. For a complete reset:
rm -rf ~/.codePrefer doing it by hand?
- macOS: quit the menu bar app, delete
/Applications/Code Agent.app, and remove~/.code. - Linux (root install):
sudo systemctl disable --now code-agent && sudo apt remove code-agent(ordnf/yum remove code-agent). - Linux (userland):
systemctl --user disable --now code-agent, then delete~/.local/bin/code-agent,~/.local/bin/code-setup, and~/.config/systemd/user/code-agent.service. - Windows: end
code-agentin Task Manager, delete%LOCALAPPDATA%\16code.
Afterwards, remove the machine's entry in the web UI: Settings → Devices → delete.
Server
curl -fsSL https://16co.de/install_server.sh | sudo bash -s -- uninstallThis stops the service and removes the package, but keeps the config and all data so you can come back. To erase those too:
sudo rm -rf /var/lib/code /etc/code.yamlDocker / Podman instead:
podman rm -f code-server
podman rmi ghcr.io/yinyue123/16code
# optional, deletes all data + certificates:
sudo rm -rf /var/lib/code /etc/code.yamlPhone / tablet icon
Long-press the home screen icon → Remove (iOS: Delete Bookmark; Android installed app: Uninstall). This only removes the shortcut on that device.