Current version: 0.15.0 — See the CLI Changelog for what’s new.
Who is this for? Both technical developers (full control, scripts, CI)
and non-technical builders who “vibe-code” with AI: the CLI gives you a
clear file structure and prompts so AI can edit pages, styles, and logic
reliably.
Requirements
- Node.js >= 18.0.0
Installing Node.js and NPM on macOS
Installing Node.js and NPM on macOS
The Embeddables CLI requires Node.js (which includes NPM). If you don’t have Node.js installed:Option 1: Using Homebrew (Recommended)If you have Homebrew installed:Option 2: Download from Node.js websiteClick “Install” in the dialog that appears, then try installing Node.js again.Verifying installation:After installation, open a new terminal window and verify:Both commands should print version numbers.
- Visit nodejs.org
- Download the LTS (Long Term Support) version for macOS
- Run the installer and follow the prompts
Installing Node.js and NPM on Windows
Installing Node.js and NPM on Windows
The Embeddables CLI requires Node.js (which includes NPM). If you don’t have Node.js installed:Option 1: Using Node.js installer (Recommended)Verifying installation:After installation, open a new terminal window and verify:Both commands should print version numbers. If you see “command not found” errors, restart your terminal or computer.
- Visit nodejs.org
- Download the LTS (Long Term Support) version for Windows
- Run the
.msiinstaller - Follow the installation wizard (keep all default options)
- Restart your terminal or Command Prompt
Installation
Install the CLI globally:Upgrading
When a new CLI version is released:Quick Start
embeddables pull, you’ll have TSX pages, styles, computed fields, and actions on disk. After embeddables dev, open the Preview URL in your browser; edits to files will recompile and refresh automatically.
Project Structure
Runembeddables init from inside a project folder you’ve created for your Embeddables project. That folder will hold all Embeddables for that project—the CLI creates an embeddables/ directory and, as you pull, one subfolder per Embeddable (e.g. embeddables/<embeddable-id>/).
embeddables init creates (or updates) project-level files. embeddables pull adds one folder per Embeddable under embeddables/:
- Pages:
pages/<pageKey>.page.tsx— React components built from Embeddable primitives. - Global components: One file per location (e.g.
before_page.location.tsx,after_components.location.tsx). - config.json: Holds page keys, version, branch info; the compiler merges this with the compiled pages/styles/actions/computed fields.
Commands
The CLI provides commands for setup, daily workflow, building, and debugging. Here’s a quick overview:| Command | Description |
|---|---|
embeddables login | Log in to your Embeddables account. |
embeddables init | Initialize a project folder with config, types, and AI context. |
embeddables pull | Fetch an Embeddable from the cloud and reverse-compile to TSX. |
embeddables dev | Start the dev server with hot reload. |
embeddables save | Build and upload the Embeddable to the cloud. |
embeddables diff | Compare two versions of an Embeddable (default: latest vs local). |
embeddables branch | Switch to a different branch (interactive list or --branch), then pull that branch. |
embeddables branches create | Create a new branch from the current Embeddable state. |
embeddables assets upload | Upload a local asset folder to the Embeddables asset store. |
embeddables assets sync | Sync uploaded asset metadata into a local assets.json file. |
embeddables tasks list | List all tasks for the current project. |
embeddables tasks get | Fetch full details for a task by ID. |
embeddables tasks update-status | Change a task’s status. |
embeddables tasks assign | Change a task’s assignee. |
embeddables tasks comment | Add a comment to a task. |
embeddables tasks add-branch | Link an Embeddables branch to a task. |
embeddables branches create | Create a new Embeddable branch from the current local state. |
embeddables build | Compile TSX to JSON without uploading. |
embeddables inspect | Round-trip compile and compare outputs for debugging. |
embeddables feedback | Send feedback about the CLI from your terminal. |
Full command reference
See all commands, flags, and options.
Using the CLI with AI
The CLI is built for AI-assisted editing. Runningembeddables init injects context files for Cursor, Claude, Codex, and Antigravity so AI assistants understand Embeddable components, keys, and conventions out of the box.
AI assistant setup
Learn how to set up Cursor, Claude, and Codex for the best editing experience.
Next steps
Development workflow
Dev server, Workbench, TypeScript authoring, and best practices.
FAQs
Common questions about the CLI, components, and workflows.
Troubleshooting
Fix common errors and learn about current limitations.
CLI Changelog
See what’s new in each CLI release.

