Index of every page on this site: llms.txt
All skills
base44 avatar

/base44-cli

@5bb6707
by base44base44/skills94 stars
21
Run it yourself

The base44 CLI is used for EVERYTHING related to base44 projects: resource configuration (entities, backend functions, realtime actors, ai agents), initialization and actions (resource creation, deployment), and any other operation on an existing app or workspace through the Base44 public API (settings, domains, users, members, source export). This skill is the place for learning about how to configure resources, including actors — the realtime/WebSocket primitive behind multiplayer, collaborative boards, presence and live cursors, in-room chat, and live auctions. When you plan or implement a feature, you must learn this skill

Use this Skill: https://skilld.dev/gh/base44/skills/base44-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdeploy.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

base44 deploy

Deploys all project resources (entities, functions, actors, agents, agent skills, connectors, and site) to Base44 in a single command.

Syntax

npx base44 deploy [options]

Options

Option Description
-y, --yes Skip confirmation prompt

What It Deploys

The command automatically detects and deploys:

  1. Entities - All .jsonc files in base44/entities/
  2. Functions - All functions in base44/functions/
  3. Actors - All realtime actors in base44/actors/
  4. Agents - All agent configurations in base44/agents/
  5. Agent Skills - All skill files in base44/agent-skills/
  6. Connectors - All connector configurations in base44/connectors/ (added and updated, never removed)
  7. Auth Config - Authentication settings from base44/auth/ (if present)
  8. Visibility - App visibility (public, private, or workspace) from the visibility field in base44/config.jsonc (if set)
  9. Site - Built files from site.outputDirectory (if configured)

Examples

# Interactive mode - shows what will be deployed and asks for confirmation
npx base44 deploy

# Non-interactive - skip confirmation (for CI/CD or agent use)
npx base44 deploy -y

Typical Workflow

# 1. Make your changes (entities, functions, frontend code)

# 2. Build the frontend (if you have one)
npm run build

# 3. Deploy everything
npx base44 deploy -y

What It Does

  1. Reads project configuration from base44/config.jsonc
  2. Detects available resources (entities, functions, actors, agents, agent skills, connectors, site)
  3. Shows a summary of what will be deployed
  4. Asks for confirmation (unless -y flag is used)
  5. Deploys all resources in sequence:
    • Sets app visibility (if configured)
    • Pushes entity schemas
    • Deploys functions
    • Deploys actors
    • Pushes agent skill files
    • Pushes agent configurations
    • Pushes auth configuration
    • Pushes connector configurations
    • Uploads site files
  6. Handles OAuth authorization for any new connectors that require it
  7. Displays the dashboard URL and app URL (if site was deployed)

Removed Resources

deploy never removes remote functions, actors, or connectors that aren't in your local files. To remove them, use functions deploy --force, actors delete, or connectors push --force. Entities, agents, and agent skills are fully synced, so remote ones missing locally are removed.

If a connector fails to sync, deploy fails after the rest of the resources and the site have shipped.

Connector OAuth Flow

If any connectors require authorization after deployment, the CLI will prompt you to open your browser to complete OAuth. In non-interactive environments (CI/CD, no TTY), OAuth prompts are skipped automatically.

Some connectors still require authorization. Run 'base44 connectors push' or open the links above in your browser.

Requirements

  • Must be run from a linked Base44 project directory
  • Must be authenticated (run npx base44 login first)
  • For site deployment, must run npm run build first

Output

After successful deployment:

  • Dashboard: Link to your app's management dashboard
  • App URL: Your deployed site's public URL (if site was included)

Notes

  • If no resources are found, the command exits with a message
  • Use individual commands (entities push, functions deploy, actors deploy, agents push, agent-skills push, connectors push, site deploy) if you only want to deploy specific resources
  • The site must be built before deployment - this command does not run npm run build for you

Related Commands

Command Description
base44 entities push Push only entities
base44 functions deploy Deploy only functions
base44 actors deploy Deploy only actors
base44 agents push Push only agents
base44 agent-skills push Push only agent skills
base44 connectors push Push only connectors
base44 auth push Push only auth config
base44 site deploy Deploy only the site
base44 visibility <level> Set only the app's visibility

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning20d5 checks · Risk SAFE
  • Gen Agent Trust Hub21d

    The skill provides a comprehensive interface for managing Base44 projects using the base44 CLI tool. It includes detailed instructions for project initialization, resource configuration (entities, functions, actors, agents, connectors), authentication, and deployment. All identified behaviors are consistent with the tool's intended role as a developer utility and utilize vendor-controlled resources.

  • Socket20d

    No alerts

  • Snyk21d

    Risk: LOW · No issues

  • Runlayer8mo

    5/27 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5bb6707. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago
metadata
{
  "sourcePackage": {
    "name": "base44",
    "version": "0.1.7"
  }
}
  • CLI
  • TypeScript
  • base44
  • project-management
  • deployment
  • entities
  • authentication
  • backend-functions
  • nodejs

README badge

README badge for base44/skills/base44-cli

Manage Base44 projects using the Base44 CLI tool via npm (npx base44). Covers project creation, authentication, entity schema configuration, deployment, and resource management for Base44 apps that combine frontend code with a base44/ configuration directory.

Generated from the current SKILL.md.

Should I use base44-cli or base44-sdk for my task?
Use base44-cli if you are creating a new project, initializing a project, deploying, or running CLI commands like `npx base44 login`. Use base44-sdk if you already have a `base44/config.jsonc` file and are building features or writing code in an existing project.
Do I need to install base44 globally or can I use npx?
Install base44 as a dev dependency (`npm install --save-dev base44`) and access it via `npx base44 <command>`. Never call `base44` directly or install it globally.
What should I do if I have an existing Base44 app that was provisioned externally?
Run `npx base44 scaffold` to set up local files for that existing app. Do not run `npx base44 create`, which would create a duplicate app.
What is the mandatory authentication check I need to perform?
At the start of each session, run `npx base44 whoami` to check if you are authenticated. If the command fails, run `npx base44 login` and wait for confirmation before proceeding with other CLI operations.
What goes in base44/config.jsonc?
The project name (required), description, directory paths for entities, functions, agents, and connectors, and optional site configuration including build command, install command, serve command, and output directory.

Generated from the current SKILL.md. These answers refresh after source changes.