supabase commands accept --project-ref
Introduced 2026-08-12 · score 0.91
HOW TO USE IT
When a Supabase CLI command needs a project reference, pass `--project-ref <project-ref>` to target a project explicitly. For example, list that project’s API keys with the invocation below.
supabase projects api-keys --project-ref <project-ref>WHY THIS HELPS
Run a Supabase CLI command that needs a project reference when working across projects.
REQUIREMENTS AND LIMITATIONS
- Version: v2.114.0
- --project-ref <string>: Project reference of the Supabase project.
- Prerequisite: The CLI must be authenticated to access Management API commands; use `supabase login` or set `SUPABASE_ACCESS_TOKEN`.
FIRST-PARTY EVIDENCE
- https://github.com/supabase/cli/releases/tag/v2.114.0
- https://supabase.com/docs/guides/getting-started/api-keys
- https://supabase.com/docs/reference/cli/global-flags
- https://supabase.com/docs/reference/cli/supabase-sso-info
Check the installed version and the source before using it. Entry JSON