LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

supabase

Supabase local development and deployment CLI

TLDR

Initialize project
$ supabase init
copy
Start local development
$ supabase start
copy
Stop local services
$ supabase stop
copy
Generate types
$ supabase gen types typescript --local
copy
Create migration
$ supabase migration new [migration_name]
copy
Apply migrations
$ supabase db push
copy
Link to project
$ supabase link --project-ref [project-id]
copy
View status
$ supabase status
copy

SYNOPSIS

supabase command [options]

DESCRIPTION

supabase is the command-line interface for managing Supabase projects, an open-source Firebase alternative built on PostgreSQL. It provides tools for local development, database migration management, type generation, and deployment to hosted Supabase projects.The local development environment runs a complete Supabase stack using Docker, including PostgreSQL, authentication services, object storage, realtime subscriptions, and Edge Functions. This allows developing and testing against a production-equivalent environment without needing a remote project.Database migrations track schema changes in version control. The CLI can generate TypeScript types from the database schema for type-safe client code. Linking connects the local project to a hosted Supabase instance for deploying migrations and Edge Functions to production.

PARAMETERS

init

Initialize project.
start
Start local stack.
stop
Stop local stack.
link
Link to remote project.
db push
Push migrations.
gen types
Generate types.
migration new NAME
Create migration.
status
Show status.
--project-ref ID
Project reference.

INSTALL

brew install supabase
copy

CAVEATS

Docker required for local dev. Project must exist on Supabase. Free tier limits apply.

HISTORY

Supabase is an open-source Firebase alternative launched in 2020. The CLI enables local development and self-hosting.

SEE ALSO

docker(1), psql(1), firebase(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid