CLI Reference
The complete dreamlake command surface. If you're new, start with the
worked examples in Your First Episode — this page
is the reference you come back to.
The canonical, per-command reference lives at
cli.dreamlake.ai — it versions with each CLI
release (the version switcher pins any past release), covers the newer
command groups (agents, skills, sources, snapshots, lakeshore resources),
and documents both install channels: the native installer and
npm install @dreamlake/dreamlake-cli. The summary below covers the core
commands; for anything not listed here, go there.
All commands use the dreamlake entry point. Add --debug before any command
to target local dev servers instead of production.
Auth
Files
Upload flags: --type <override>, --bindr <names> (comma-separated,
auto-created). <target> uses the
episode syntax [namespace@]project[:episode].
Collections
Search
Add --zaku-url <url> for distributed processing. See
Semantic Search for the pipeline this feeds.
Artifacts
Renderable documents — HTML, React, Markdown, SVG, Mermaid, or code — rendered
live in the dashboard at /<namespace>/artifacts. New here? The
Artifacts guide is the two-minute picture-book version. Each artifact is its own
versioned dataset; the DreamLake server keeps the catalog (title, kind,
visibility) that powers the gallery and list.
Kinds: html · react (must define an App component) · markdown · svg ·
mermaid · code. Re-push with the same --id to append a new version — the
viewer keeps every version. After a successful push the CLI prints an open
link to the artifact, so you can click straight through to view what you just
uploaded.
Visibility & sharing. Artifacts are private by default (visible only to
namespace members). --visibility public makes one readable by anyone;
--share mints a ?share=<token> link that any signed-in DreamLake user
can open (anonymous visitors are sent to log in first). Members can also toggle
visibility and copy a share link from the artifact's page in the dashboard.
Delete, Trash & restore. delete is a soft delete: the artifact moves
to your gallery's trash tab (share links stop working immediately), and you
can bring it back with restore, the Restore button in the Trash, or simply by
re-pushing the same --id. delete --permanent (v0.4.14+) permanently
erases the artifact — every version, its stored content, and its catalog
entry. There is no undo; the dashboard's equivalent is Delete forever in
the Trash.
Add the artifacts skills (Claude)
DreamLake publishes a Claude skill that teaches
your agent to publish, version, and share artifacts for you. Add it from the
public dreamlake-skills
repo:
Install both skills: one publishes, the other prepares content for the offline
rendering frame. To update both, run git -C ~/dreamlake-skills pull --ff-only.
Use a project's .claude/skills/ directory for project scope. If a skill already
exists, inspect and preserve local edits before replacing it with a symlink.
Then ask Claude something like "push this dashboard as a dreamlake artifact
and make it public" — it will invoke the skill and run the right
dreamlake artifact commands.
Envs
Simulation environments — a directory holding one MJCF scene or one URDF
robot plus its assets, viewed as a live, interactive 3D page at
/<namespace>/envs. New here? The
Envs guide is the picture-book version. Each env stores its files
content-addressed, so re-pushing uploads only what changed, and pull returns
a byte-identical directory (every file is hash-verified).
Names are namespace/env-name with immutable integer versions — re-push the
same name to append the next version, and the viewer keeps a version picker.
Limits per version: ≤ 1000 files, ≤ 100 MiB per file, ≤ 1 GiB total; dot-files,
node_modules and symlinks are skipped.
Renamed: before envs existed,
dreamlake envswitched login environments. That command is nowdreamlake auth env list|use|remove— see Environments.
The CLI itself
Note the name: update edits bindrs and datasets, self-update updates the
CLI. See the install reference for the install layout, release channels,
and the variables that switch auto-update off.