Before you start
You need:- Node.js 20 or later;
- the backend URL and anon key for the app you are authorized to use;
- a login method supported by that app.
Install
superun command is available:
Connect and log in
Register a backend and give it a local alias:Work with app data
update and delete require a filter by default. A whole-table operation requires the explicit --all flag.
All requests use the current user’s session, so the app’s Row Level Security policies still apply. A command can only access data that the signed-in user is allowed to access.
Call Edge Functions
The CLI discovers app-specific functions from the app’s OpenAPI manifest. Explore from broad groups to a single function:Manage multiple apps
-a to target a different configured app for one command without changing the active app:
Command reference
Run
superun <command> --help for all flags and input requirements.
Safety and troubleshooting
- Run
superun app showandsuperun whoamibefore a sensitive write. - Treat access and refresh tokens as secrets. Only provide Agent Friendly setup instructions to an AI assistant or environment you trust.
- A
401usually means the session is no longer valid for this backend. Log in again with a token issued by the same app. - If
superun fnis empty or outdated, runsuperun app refresh. The app must expose a valid CLI manifest for function discovery. - Database and function calls can have immediate business effects. Inspect the command and payload before running it.
superun CLI on npm
View the published package and current version.
Source code
Read the complete reference or report an issue.

