© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
3 replies
Mohamed Amine

Title: Dev/Prod environment setup - separate projects vs branching?

🤷other
Hi! I'm setting up a new project and need advice on environment management.
Should I:
Option A: Create 2 separate Supabase projects (one for dev, one for prod) and use environment variables to switch between them?
Option B: Use Supabase branching feature within a single project?
What's the recommended approach for managing dev/prod environments? Are there any gotchas I should be aware of?
Thanks!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Choosing the Right Supabase Environment Strategy (Branching vs Multiple Projects vs something else?)
SupabaseSSupabase / help-and-questions
4w ago
Migrate DB from dev to prod projects
SupabaseSSupabase / help-and-questions
3y ago
Keeping two Supabase projects in Sync Prod|Dev
SupabaseSSupabase / help-and-questions
4y ago
DEV/PROD setup on Git / lovable / supabase
SupabaseSSupabase / help-and-questions
22h ago