supabase adds whoami and notebook sync commands
Introduced 2026-09-25 · score 0.95
HOW TO USE IT
To identify the active Supabase user, run `supabase whoami`. To sync project notebooks, link the project, then run `supabase notebooks pull` to write remote notebooks locally or `supabase notebooks push` to upload local notebooks.
supabase whoamisupabase link --project-ref <project-ref>
supabase notebooks pullsupabase notebooks push
supabase notebooks push <name>WHY THIS HELPS
Check the current Supabase account or sync notebooks for a repository.
REQUIREMENTS AND LIMITATIONS
- Version: 2.118.0
- --project-ref <project-ref>: Project ref used to link the local project to the hosted project.
- <notebook-id> (pull argument): Select one notebook by its dashboard UUID; pull replaces that local copy. Without it, pulls notebooks missing locally.
- <name> (push argument): Push only the named notebook; without it, push handles the notebooks directory.
- --output-format json: On `whoami`, output the identity fields as JSON.
- Prerequisite: Notebook commands require a linked project; link with `supabase link --project-ref <project-ref>`.
- Prerequisite: Notebooks are behind a dashboard feature preview; enable it to create and edit notebooks in the dashboard.
- Prerequisite: The CLI must be authenticated for platform operations; `supabase login` connects it to the account using a personal access token.
FIRST-PARTY EVIDENCE
- https://github.com/supabase/cli/releases/tag/v2.118.0
- https://github.com/supabase/cli/pull/6552
- https://github.com/supabase/cli/pull/6598
- https://github.com/supabase/cli/pull/6599
- https://supabase.com/docs/reference/cli/global-flags
Check the installed version and the source before using it. Entry JSON