docs/src/uninstall.md
This guide covers how to uninstall Zed on different operating systems.
If you installed Zed by downloading it from the website:
If you installed Zed using Homebrew, use the following command:
brew uninstall --cask zed
Or for the preview version:
brew uninstall --cask zed@preview
To completely remove all Zed configuration files and data:
Cmd + Shift + G to open "Go to Folder"~/Library/Application Support/Zed~/Library/Saved Application State/dev.zed.Zed.savedState~/Library/Logs/Zed~/Library/Caches/dev.zed.ZedIf Zed was installed using the default installation script, run:
zed --uninstall
You'll be prompted whether to keep or delete your preferences. After making a choice, you should see a message that Zed was successfully uninstalled.
If the zed command is not found in your PATH, try:
$HOME/.local/bin/zed --uninstall
or:
$HOME/.local/zed.app/bin/zed --uninstall
If you installed Zed using a package manager (such as Flatpak, Snap, or a distribution-specific package manager), consult that package manager's documentation for uninstallation instructions.
If the uninstall command fails or Zed was installed to a custom location, you can manually remove:
~/.local/zed.app (or your custom installation path)~/.local/bin/zed~/.config/zedAlternatively, you can:
To completely remove all Zed configuration files and data:
Windows key + R to open Run%APPDATA% and press EnterZed folder if it existsWindows key + R again, type %LOCALAPPDATA% and press EnterZed folder if it existsIf you encounter issues during uninstallation:
For additional help, see our Linux-specific documentation or visit the Zed community.