Interact with Supabase through the official CLI: install/check the CLI, initialize or link projects, run the local stack, manage migrations and schema diffs, push or pull database changes, generate types, manage Edge Functions and secrets, and troubleshoot CLI auth or linking issues. Use when the user mentions Supabase CLI commands, a `supabase/` directory, project refs, migrations, `db push`/`db pull`, `functions deploy`, or local Supabase services.
Prefer official CLI paths, local-first workflow, exact command output.
npx supabase --versionsupabase --versionls supabasetest -f supabase/config.tomlfind supabase/migrations -maxdepth 1 -type f | sortnpx supabase --helpnpx supabase <group> --helpSUPABASE_ACCESS_TOKENSUPABASE_DB_PASSWORDdb reset / db lintfunctions servesupabase projects listproject-refdb push, inspect pending migrations; use dry run/help if available on installed CLI.db reset, stop --no-backup), warn about data loss; back up if needed.npx supabase ... in Node repos unless the repo already standardizes on global supabase.supabase init + supabase start for new local environments.supabase login + supabase link --project-ref ... before hosted-project operations that need linking.--no-verify-jwt only for intentionally public/webhook Edge Functions.npx supabase vs global)supabase/