Installation
Tip
We recommend using Bun as your package manager.
While other package managers will probably work too, we only use Bun for testing.
Environment
The following environment variables are required when working with linked projects:
Name | Description |
---|---|
SUPABASE_ACCESS_TOKEN |
An access token to access the management api. |
SUPABASE_PASSWORD |
The database password. |
SUPABASE_ANON_KEY |
The anonymous key. |
SUPABASE_SERVICE_KEY |
The service key. |
Create a .env
file in your project root with these variables set.
Install
That's it!
Run the following command to verify everything is working fine:
Shortcut
You might want to create a shortcut script in your project root with the following content:
We like to call it just supa
, but you may use any name you want.
Don't forget to make it executable: