View all files | ||||
Supabase is an open source Firebase alternative. We're building the features of Firebase using enterprise-grade open source tools.
This repository contains all the functionality for Supabase CLI.
Available via NPM as dev dependency. To install:
To install the beta release channel:
When installing with yarn 4, you need to disable experimental fetch with the following nodejs config.
Note For Bun versions below v1.0.17, you must add supabase as a trusted dependency before running bun add -D supabase.
macOSAvailable via Homebrew. To install:
To install the beta release channel:
To upgrade:
Beta channel:
Available via Scoop. To install:
To install the beta release channel:
To upgrade:
Beta channel:
Available via Homebrew and Linux packages.
To install:
To install the beta release channel:
To upgrade:
Beta channel:
Linux packages are provided in Releases. To install, download the .apk/.deb/.rpm/.pkg.tar.zst file depending on your package manager and run the respective commands.
You can also install the CLI via go modules without the help of package managers.
Add a symlink to the binary in $PATH for easier access:
This works on other non-standard Linux distros.
Community Maintained PackagesAvailable via pkgx. Package script here. To install in your working directory:
Available via Nixpkgs. Package script here.
Or using npx:
The bootstrap command will guide you through the process of setting up a Supabase project using one of the starter templates.
Command & config reference can be found here.
We follow semantic versioning for changes that directly impact CLI commands, flags, and configurations.
However, due to dependencies on other service images, we cannot guarantee that schema migrations, seed.sql, and generated types will always work for the same CLI major version. If you need such guarantees, we encourage you to pin a specific version of CLI in package.json.
To run from source: