Vai al contenuto principale
The backend service and CLI are currently in beta. We’re actively improving the platform and documentation based on user feedback. Share your thoughts and feature requests on our GitHub Discussions page.
The Base44 CLI provides commands for authentication, project management, and syncing resources with your Base44 backend.

Command overview

Command syntax

All Base44 CLI commands follow this general syntax:
Where:
  • <command> is the primary action (for example, login, create, entities)
  • [subcommand] is an optional secondary action (for example, entities push)
  • [flags] are optional parameters that modify the command’s behavior

Global flags

The following flags are available for all commands:

Select a target app

When you work on project locally, the CLI reads the target app from base44/.app.jsonc automatically. For day-to-day work, you don’t need to do anything. You can also target a different app explicitly when running commands that don’t need a local project, like logs and exec. For example, tail logs from a production app, or run a script against an app you built in the Base44 online app editor. Commands that need a local project, like deploy and entities push, only work from inside one and always use the linked project’s app. You can specify the target app in three ways, in order of priority:

Authentication requirements

Most commands require authentication. Use base44 login to authenticate before running commands like create or entities push. Commands that don’t require authentication:
  • login
  • logout
  • types generate

See also