Command reference ยท Cursor CLI
agent uninstall-shell-integration
Removes the CLI's shell integration from ~/.zshrc again.
agent uninstall-shell-integration reverses what agent install-shell-integration set up and removes the corresponding entries from ~/.zshrc.
โ WHEN TO USE IT?
Cleanly reset shell integration when it's causing problems
agent uninstall-shell-integration
โ WHEN NOT TO?
Shell integration should only be paused briefly, not removed
agent uninstall-shell-integration deletes the configuration entirely instead of just disabling it.
Better: Manually comment out the relevant block in ~/.zshrc
SOURCES
- Cursor Docs โ CLI Reference: Parameters โ cursor.com