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.

referencescreate.md

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

base44 create

Creates a new Base44 project from a template. This command is framework-agnostic and can either scaffold a complete project or add Base44 configuration to an existing project.

Critical: Non-Interactive Mode Required

ALWAYS provide both the project name AND --path flag. Without both, the command opens an interactive TUI which agents cannot use properly.

WRONG: npx base44 create WRONG: npx base44 create my-app RIGHT: npx base44 create my-app -p ./my-app

Syntax

npx base44 create [name] --path <path> [options]

Arguments & Options

Argument/Option Description Required
name Project name (positional argument) Yes*
-p, --path <path> Path where to create the project Yes*
-t, --template <id> Template ID (see templates below) No
--deploy Build and deploy the site (includes pushing entities) No
--no-skills Skip AI agent skills installation (skills are added by default) No
-w, --workspace <id> Workspace (organization) ID to create the app in (defaults to your personal workspace) No

*Required for non-interactive mode. Both name and --path must be provided together.

Template Selection (CRITICAL - Choose Appropriately)

You MUST select the most appropriate template based on user requirements:

Template ID When to Use Example Scenarios
backend-and-client Creating a NEW full-stack web app from scratch "Create a task app", "Build me a dashboard", "Make a SaaS app"
backend-only Adding Base44 to an EXISTING project OR using a different framework (Next.js, Vue, Svelte, etc.) "Add Base44 to my project", "I want to use Next.js", "I already have a frontend"

Default Choice: When the user asks to "create an app" or "build a project" without specifying a particular framework, use backend-and-client to provide a complete, production-ready application with Vite + React + Tailwind.

The --path Flag

  • For backend-and-client template (new projects): Use a new subfolder path
    npx base44 create my-app -p ./my-app -t backend-and-client
  • For backend-only template (existing projects): Use -p . in the current directory
    npx base44 create my-app -p .

Workflow: Using backend-only with External Frameworks

CRITICAL: The project folder MUST exist BEFORE running base44 create with backend-only

The backend-only template only adds Base44 configuration files - it does NOT create a frontend. If you need a frontend with a specific framework:

# Step 1: Initialize the frontend project FIRST
npm create vite@latest my-app -- --template react  # or vue, svelte, etc.
# OR: npx create-next-app@latest my-app
# OR: any other framework's init command

# Step 2: Navigate into the created folder
cd my-app

# Step 3: Install Base44 CLI
npm install --save-dev base44

# Step 4: Add Base44 configuration
npx base44 create my-app -p .

WARNING: Do NOT:

  • Create an empty folder manually, then try to run npx create vite inside it (will fail - folder exists)
  • Run base44 create with backend-only expecting it to create a frontend (it won't)

DO:

  • Run the external framework's init command FIRST (it creates its own folder)
  • Then run base44 create inside that folder with -p .

Examples

# RECOMMENDED: Create full-stack project (for new apps)
npx base44 create my-app -p ./my-app -t backend-and-client

# Create full-stack and deploy in one step
npx base44 create my-app -p ./my-app -t backend-and-client --deploy

# Add Base44 to EXISTING project (must be inside the project folder)
npx base44 create my-app -p .

# Add Base44 to existing project and deploy
npx base44 create my-app -p . --deploy

# Create without adding AI agent skills
npx base44 create my-app -p . --no-skills

# Create in a specific workspace (organization)
npx base44 create my-app -p . --workspace 507f1f77bcf86cd799439011

Workspaces

By default the app is created in your personal workspace. Use -w, --workspace <id> to create it in a different workspace (organization) instead — find workspace IDs with npx base44 workspace list (see workspace-list.md). In interactive mode, if you belong to more than one workspace and don't pass --workspace, the CLI prompts you to pick one.

What It Does

  1. Applies the selected template to the target path
  2. Creates a base44/ folder with configuration files
  3. Registers the project with Base44 backend
  4. Creates base44/.app.jsonc with the app ID
  5. If --deploy is used:
    • Pushes any entities defined in base44/entities/
    • Runs install and build commands (for templates with frontend)
    • Deploys the site to Base44 hosting

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.