Skip to main content

Uninstall Forge

Uninstall Forge Code from your system.

1

Uninstall

Run the uninstall command:

forge uninstall

This will remove Forge from your system.

2

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:

1

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\
2

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

1

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:


Success

Forge Code has been removed from your system. Thank you for trying Forge Code!