Skip to content

alfe remove

alfe remove uninstalls Alfe’s integrations and undoes the runtime configuration those integrations applied. It’s deliberately narrow in scope: it cleans up Alfe’s own artifacts and nothing else.

Terminal window
alfe remove

You’ll be asked to confirm. To skip the prompt (for scripts):

Terminal window
alfe remove --yes
  • All installed integrations for the agent.
  • The runtime configuration those integrations added (the integration-managed entries are removed and the integration tracking state is cleared).
  • Local integration state and clones under ~/.alfe/.

alfe remove never removes:

  • The agent runtime binaries.
  • Any separate developer tooling you installed alongside the agent.
  • The gateway daemon or its system service.
  • Your ~/.alfe/config.toml (your API key and runtime settings stay put).
  • Runtime configuration you authored yourself.

This scoping is intentional: removing Alfe integrations should leave the rest of your environment exactly as it was. If you want to disconnect the agent entirely, stop and uninstall the daemon separately with alfe gateway stop and alfe gateway uninstall.