---
title: "Supabase CLI v1 and Management API Beta"
description: "Supabase CLI v1 leaves beta with commands to manage organizations, projects and Edge Functions, plus database migration tooling, CI/CD workflows and TypeScript type generation."
url: "https://swe.quest/articles/supabase-cli-v1-and-management-api-beta-40e0f641270aa760"
canonical: "https://supabase.com/blog/supabase-cli-v1-and-admin-api-beta"
source: "Supabase"
published: "2022-08-15"
difficulty: "medium"
kind: "Release"
reading_minutes: 4
tags: ["schema-migrations","developer-tools","postgres","ci-cd","api-design"]
---

# Supabase CLI v1 and Management API Beta

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2022-08-15, 4 min read, Release. Original: [https://supabase.com/blog/supabase-cli-v1-and-admin-api-beta](https://supabase.com/blog/supabase-cli-v1-and-admin-api-beta)

## Summary

Supabase CLI v1 leaves beta with commands to manage organizations, projects and Edge Functions, plus database migration tooling, CI/CD workflows and TypeScript type generation. Schema diffing adds an experimental migra backend (\`db diff --use-migra\`), which runs faster and emits more concise DDL than the previous PgAdmin-based approach, which mishandled default privileges in role grants. Local database branching lets developers test manual migrations without data loss, and \`db push\` plus a GitHub Actions example cover releasing to staging and production. A beta REST Management API, already used by the CLI, exposes project and organization management for automation and future Terraform/Pulumi integrations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Schema migrations](https://swe.quest/tags/schema-migrations.md) (Data & databases)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)

## Prerequisites

- PostgreSQL schema migrations ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- command-line tools

## Keywords

Supabase CLI, Supabase Management API, migra, PgAdmin, GitHub Actions, TypeScript, Supabase Edge Functions

## Related posts

- [Supabase CLI](https://swe.quest/articles/supabase-cli-a62c53c7dbec808f.md): Supabase · 2021-03-31 · Medium · 7 min read · Schema migrations, PostgreSQL, Developer tools
  Supabase's new CLI runs the full Supabase stack locally via Docker Compose, using the same tooling as production, and walks through wiring it to a React app.
- [Supabase CLI v2: Config as Code](https://swe.quest/articles/supabase-cli-v2-config-as-code-bd9ba93f5cb80d9d.md): Supabase · 2024-12-04 · Medium · 5 min read · Configuration management, Infrastructure as code, Developer tools, Deployment, PostgreSQL
  Supabase CLI v2 adds configuration as code: a committed \`config.toml\` declares Auth redirect URLs, Edge Function settings, Storage buckets seeded from local files, Postgres settings and experimental database webhooks, and these are promoted across preview, staging and production environments. \`supabase link\` diffs local config against the remote project to detect drift.
- [Supabase Branching](https://swe.quest/articles/supabase-branching-4fbb0c9896d51627.md): Supabase · 2023-12-13 · Medium · 5 min read · Schema migrations, PostgreSQL, CI/CD, Deployment
  Supabase Branching gives each Git branch an isolated hosted Preview environment with its own Postgres database, Auth, Storage, Realtime, Edge Functions and APIs, plus separate credentials.
- [Supabase Local Dev: migrations, branching, and observability](https://swe.quest/articles/supabase-local-dev-migrations-branching-and-observability-770def662fe57683.md): Supabase · 2023-08-08 · Easy · 6 min read · PostgreSQL, Developer tools, Schema migrations, Testing, Deployment
  Supabase's CLI gains a batch of Postgres local-development features: \`supabase inspect db\` with 19 diagnostic commands adapted from Heroku's pg-extras, \`db dump\` backups built on pg\_dump, migration squashing and diffing via migra, pgTAP testing with \`supabase test\`, plpgsql\_check linting, seeding, and TypeScript type generation that now detects foreign-key relationships.
- [The Vibe Coder's Guide to Supabase Environments](https://swe.quest/articles/the-vibe-coder-s-guide-to-supabase-environments-2ce71129a08af138.md): Supabase · 2025-08-17 · Medium · 10 min read · Schema migrations, CI/CD, Deployment, PostgreSQL, Identity & auth
  Separate Supabase projects for development and production, with all schema changes captured as timestamped SQL migrations in a Git-tracked supabase/ directory, keep a fast workflow from breaking live data.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
