supabase stack destroy accepts repeatable --stack-id
Introduced 2026-10-14 · score 0.92
HOW TO USE IT
When removing multiple local projects, run `supabase stack destroy` with one `--stack-id` per project. It asks for confirmation once and destroys only if every ID matches a local project.
supabase stack destroy --stack-id <id-1> --stack-id <id-2>WHY THIS HELPS
Destroy multiple local stacks in one cleanup operation.
BEFORE THIS CHANGE
Earlier CLI versions destroyed one local project per command.
REQUIREMENTS AND LIMITATIONS
- Version: v2.121.0
- --stack-id <id> (required): Selects a local project to destroy. Repeat the flag for each project; every ID must match a local project before destruction begins.
- Prerequisite: Requires Supabase CLI v2.119.0 or later and the experimental stack setting enabled.
FIRST-PARTY EVIDENCE
- https://github.com/supabase/cli/releases/tag/v2.121.0
- https://supabase.com/docs/guides/local-development/running-multiple-local-projects
Check the installed version and the source before using it. Entry JSON