You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since CLI v3.4.0, supabase init creates config.jsonc for new projects, with editor validation and autocomplete. Existing projects keep config.toml and nothing changes for them.
Since Supabase CLI v3.4.0, released on 2026-11-24, supabase init creates supabase/config.jsonc for new projects instead of supabase/config.toml. It holds the same settings, written as JSON with comments, and a $schema line points at the hosted config schema, so editors that support JSON Schema validate and autocomplete it with no extension to install. The same schema lets coding agents and supabase config validate catch config mistakes before they reach supabase start or a deploy.
Existing projects keep config.toml, and it stays fully supported. The CLI never converts a project unless you ask it to, and supabase config convert moves a project between the two formats whenever you like. Supabase CLI 3.1.0 and later and Branching preview branches already read config.jsonc.
A heads-up for tools that read config.toml
Most projects don't need to do anything. The one thing to check is anything outside the CLI that reads supabase/config.toml directly, for example a third-party tool, script, CI step or Dockerfile that looks up project_id or a port. On a project created with CLI v3.4.0 or later, that file doesn't exist.
If you maintain a tool that reads the Supabase config, also look for supabase/config.jsonc and supabase/config.json. A JSON file takes precedence over config.toml, and having both config.json and config.jsonc is an error. Parse config.jsonc as JSON with comments and trailing commas. The keys are the same as in config.toml.
Use Supabase CLI 3.1.0 or later wherever a new project runs, including supabase/setup-cli in CI. Older versions don't read config.jsonc and run with default settings.
To keep TOML for a new project, run supabase config convert --to toml (CLI 3.3.0 or later) after supabase init. It writes config.toml and moves config.jsonc to config.jsonc.bak.
Timeline
Date
Release
2026-11-09
CLI 3.1.0 reads config.json and config.jsonc
2026-11-16
CLI 3.2.0 adds supabase config validate and supabase config convert
2026-11-23
CLI 3.3.0 adds supabase config convert --to toml
2026-11-24
CLI 3.4.0: supabase init creates config.jsonc for new projects
We're working on more guides and support content for config.jsonc, and more guidance will follow. Until then, the Config file formats guide covers both formats.
If something stops working, especially a tool, script or CI step that only reads config.toml, tell us by running supabase issue bug or opening an issue. Your reports show us which tools still need updating.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Since CLI v3.4.0, supabase init creates config.jsonc for new projects, with editor validation and autocomplete. Existing projects keep config.toml and nothing changes for them.
Since Supabase CLI v3.4.0, released on 2026-11-24,
supabase initcreatessupabase/config.jsoncfor new projects instead ofsupabase/config.toml. It holds the same settings, written as JSON with comments, and a$schemaline points at the hosted config schema, so editors that support JSON Schema validate and autocomplete it with no extension to install. The same schema lets coding agents andsupabase config validatecatch config mistakes before they reachsupabase startor a deploy.Existing projects keep
config.toml, and it stays fully supported. The CLI never converts a project unless you ask it to, andsupabase config convertmoves a project between the two formats whenever you like. Supabase CLI 3.1.0 and later and Branching preview branches already readconfig.jsonc.A heads-up for tools that read config.toml
Most projects don't need to do anything. The one thing to check is anything outside the CLI that reads
supabase/config.tomldirectly, for example a third-party tool, script, CI step or Dockerfile that looks upproject_idor a port. On a project created with CLI v3.4.0 or later, that file doesn't exist.supabase/config.jsoncandsupabase/config.json. A JSON file takes precedence overconfig.toml, and having bothconfig.jsonandconfig.jsoncis an error. Parseconfig.jsoncas JSON with comments and trailing commas. The keys are the same as inconfig.toml.supabase/setup-cliin CI. Older versions don't readconfig.jsoncand run with default settings.supabase config convert --to toml(CLI 3.3.0 or later) aftersupabase init. It writesconfig.tomland movesconfig.jsonctoconfig.jsonc.bak.Timeline
config.jsonandconfig.jsoncsupabase config validateandsupabase config convertsupabase config convert --to tomlsupabase initcreatesconfig.jsoncfor new projectsWe're working on more guides and support content for
config.jsonc, and more guidance will follow. Until then, the Config file formats guide covers both formats.If something stops working, especially a tool, script or CI step that only reads
config.toml, tell us by runningsupabase issue bugor opening an issue. Your reports show us which tools still need updating.Affected products: CLI
Authored by @Coly010
All reactions