base44 exec command.
Standalone scripts:
- Require no setup or token management. A pre-authenticated SDK client is available as a global
base44variable. - Execute locally using Deno and run against the deployed app linked to your current project directory.
- Have full access to your app’s entities, functions, and integrations through the SDK.
- Run with your user’s permissions, not service-role access.
Prerequisites
You need to install Deno to run scripts with exec.Use cases
Theexec command gives you direct access to the full SDK from standalone scripts. Common use cases include:
- Data migrations: Reshape, backfill, or transform entity records in bulk.
- Seed scripts: Populate your app with sample data for development or staging.
- Ad-hoc queries: Quickly inspect or debug your app’s data from the terminal.
- AI and LLM tasks: Run one-off AI operations like summarizing data, generating content, or enriching records.
- Function testing: Invoke backend functions with real data to test them outside the app.
- Automation: Run scripts in CI pipelines or scheduled jobs to perform maintenance tasks.
Get started
To get started, create a script file and pipe it to exec.Write a script
Create a script file that uses the
base44 global variable. No imports or setup are needed. For example:See also
exec: Full command reference- Backend functions: Write serverless functions that run on Base44’s infrastructure
- JavaScript SDK: SDK reference for entities, auth, functions, and integrations

