base44 dev
Start local development for a linked Base44 project. This command always starts the Base44 backend locally. Ifbase44/config.jsonc defines site.serveCommand, it also runs your frontend dev server from the project root and wires it to the local backend automatically.
Syntax
Options
| Option | Description | Required | Default |
|---|---|---|---|
-p, --port <number> | Port for the local Base44 backend | No | 4400 |
Authentication
Required: Yes. If not authenticated, you’ll be prompted to login first.Requirements
- Must be run from a linked local Base44 project
base44/.app.jsoncmust existbase44 devcannot be used with--app-idorBASE44_APP_ID
What It Does
- Reads your linked local project configuration
- Starts the local Base44 backend for entities, functions, and auth routes
- Watches local Base44 resources and reloads them when they change
- If
site.serveCommandis configured, starts your frontend dev server from the project root - Injects
VITE_BASE44_APP_IDandVITE_BASE44_APP_BASE_URLinto the frontend process - Shuts everything down cleanly when you stop the command
Frontend + Backend Behavior
base44 dev works for both backend and frontend:
- Backend: always runs locally
- Frontend: runs only when
base44/config.jsoncincludessite.serveCommand
base44 dev for full-stack local development, verify your config:
site.serveCommand is missing, base44 dev still works, but it only starts the Base44 backend.
Examples
Notes
- Use this from a linked local project, not with
--app-id - When the frontend is running, the CLI streams backend and frontend output together
- If the frontend process exits, the local dev environment shuts down too

