Uninstall Forge
Uninstall Forge Code from your system.
Uninstall
Run the uninstall command:
forge uninstall
This will remove Forge from your system.
Verify Removal
Check that Forge has been removed:
forge --version
You should see an error indicating the command is not found, confirming successful removal.
Clean Up Configuration and Data
After uninstalling the main application, you may want to remove associated configuration files and data:
Remove Forge configuration directory
Delete the forge folder from your home directory. This folder contains your authentication tokens, custom agents, and local configurations.
Location:
- macOS/Linux:
~/forge/ - Windows:
%USERPROFILE%\forge\
Remove project-specific configurations (optional)
Look for forge.yaml files in your project directories and delete them if no longer needed. These files contain project-specific Forge settings and agent configurations.
Verify Removal
Check command availability
forge --version
The command should return "not found" or a similar error.
Troubleshooting Uninstallation
Permission Issues
If you encounter permission errors during uninstallation:
macOS/Linux:
sudo forge uninstall
Windows (Run as Administrator):
forge uninstall
Need Help?
If you encounter issues during uninstallation:
- Join our Discord community for real-time help
- Visit our GitHub Issues
Forge Code has been removed from your system. Thank you for trying Forge Code!