-
Notifications
You must be signed in to change notification settings - Fork 0
completing
When a piece of work is merged or abandoned, tear the environment down. When
you're done with a whole project — or want to uninstall — clean up the
~/.forge-fleet registry. For full flags see the
command reference.
flowchart TD
E[Environment done] -->|ffleet remove SLUG| R[Worktree deleted; ffleet-created branch deleted]
R --> D{More environments in this project?}
D -->|yes| E
D -->|no| P[Project-level cleanup]
P -->|ffleet project ls| L[See all known projects]
P -->|ffleet project prune| PR[Drop stale entries + their ~/.forge-fleet home dirs]
P -->|ffleet project rm ID| RM[Delete one project's ~/.forge-fleet/ID dir + registry entry]
ffleet remove SLUG tears the environment down: it stops the container and
deletes the worktree. If Forge Fleet created the branch, that branch is
deleted too; a branch you brought in with --from is left alone.
$ ffleet remove my-feature
$ ffleet remove my-feature -y # skip the confirmation promptremove surfaces unpushed/uncommitted work before deleting so you don't lose it
by surprise. This is irreversible — if you only want the container gone,
use ffleet stop instead.
Forge Fleet tracks the projects it knows about in
~/.forge-fleet/registry.json, with each project's home data under
~/.forge-fleet/{id}/. The ffleet project commands manage that registry —
useful for multi-project cleanup and uninstalling.
-
ffleet project ls— list all known projects (add--json). Start here.$ ffleet project ls -
ffleet project prune— remove stale registry entries and delete their~/.forge-fleethome directories. Good housekeeping after you've deleted repos. Prompts first;-yto skip.$ ffleet project prune -
ffleet project rm PROJECT_ID— permanently delete one project's~/.forge-fleet/{id}directory and its registry entry. Prompts first;-yto skip.$ ffleet project rm creator-ai
To leave no trace:
-
ffleet removeevery remaining environment (orffleet lsper project to find them). -
ffleet project prune, orffleet project rm IDfor each project, to clear~/.forge-fleet. - Delete the
ffleetbinary from yourPATH.
Removing environments deletes worktrees and ffleet-created branches — double-check nothing is unpushed first.