The CLI is the fastest way to create projects, generate demos, inspect status, and run scripts from CI.

Install

bash
npm install -g @littledemo/cli

Both binaries work:

bash
littledemo --helpld --help

Commands

CommandPurpose
littledemo loginSign in with a browser or API key.
littledemo initRun the first-demo wizard.
littledemo setupInstall repo agent guidance and optional PR demo automation.
littledemo projects listList projects.
littledemo projects createCreate a project.
littledemo demos listList demos.
littledemo demos createGenerate a demo.
littledemo demos uploadUpload a local MP4/WebM as a ready demo.
littledemo demos waitBlock until a demo finishes; prints share URLs.
littledemo demos batchCreate demos from a file (one prompt per line), JSON results.
littledemo recordRecord a URL locally (works on localhost); --upload to host it.
littledemo mcpMCP stdio server for AI agents.
littledemo demos getPrint demo JSON.
littledemo demos openOpen a demo share page.

littledemo setup --yes writes the public LittleDemo skill to .claude/skills/littledemo/SKILL.md and adds managed guidance to AGENTS.md. PR demo videos are a separate opt-in: littledemo setup --pr-demos --yes also writes .github/workflows/littledemo-pr-demo.yml.

Global flags

bash
littledemo --api-url https://littledemo.comlittledemo --versionlittledemo --help

You can also set:

bash
export LITTLEDEMO_API_KEY=ld_live_xxxexport LITTLEDEMO_API_URL=https://littledemo.com
Ask a question... ⌘I