CLI examples
Shell-by-shell walkthroughs of common operator tasks, grouped by what you're trying to do. Start with the auth page — the rest assume the shell setup it describes.
| Page | Covers |
|---|---|
| Auth + setup | One-time login, shell environment, $D seeding |
| Providers + discover | Register cloud, SSH, SLURM, Kube targets; the local discovery helpers |
| Queues + jobs | Named work queues and inspecting invocations |
| Daemons + exec/run | Worker daemons, compose, and one-off command execution |
| Storage, code, mounts | S3 storage entries, code archives, mount declarations |
| Secrets, modes, tunnels, config, nymph | The long tail of management commands |
If you want a guided narrative instead, see the CLI happy paths.
Conventions used across these pages
- Names for providers, secrets, modes, tunnels, mounts, storage
entries, and queues all validate against
^[a-z0-9][a-z0-9-]*$. - Every action calls
process.exit(rc).2is the conventional "bad usage / not configured" code and1is the failure code, so these blocks are safe underset -e. --jsonis available on most read commands and is the intended scripting surface; the table output is for humans and not stable.
What's not on these pages
- Provider-driven dispatch from Python — the
@dls.udfdecorator, modes, capacity matching — lives on/python-sdk. The CLI's role there is to register the targets; the Python API runs the jobs. - Lower-level daemon internals — capability publishing, hibernate
semantics, OTA self-replace — are documented at
/nymph/daemonsand/nymph/protocol. - The
dreamlakegroup — a separate data plane with its own servers, its own credential store (~/.dreamlake/), and its own connection flags. It is not covered by this cookbook.
Read next
/cli— the overview and the full command surface./cli/tui— the interactive dashboard over the same data./python-sdk— what you can launch from Python./nymph/daemon-lifecycle— install → list → kill → cleanup.docs.dreamlake.ai/lakeshore/providers— the EC2 / GCE / SLURM / Kube / SSH launchers./cli/completion— the full completion installation guide.