Vai al contenuto principale
Run a TypeScript or JavaScript script with the Base44 SDK pre-authenticated as the current user. The SDK is available as a global base44 variable. Scripts are executed locally using Deno. For a full walkthrough, use cases, and prerequisites, see the Standalone scripts guide.

Usage

Pipe a script file to exec:
Or pass inline code:
By default exec targets the app linked in the current project’s .app.jsonc. To run a script against any other app on your account, pass --app-id or set the BASE44_APP_ID environment variable. This works from anywhere on your machine, including against apps you built in the Base44 online app editor and never linked locally.

Flags

See also