CLI Reference
Minimal ships as a small set of binaries split across two planes:
- The session plane manages sandboxed development sessions. The
minCLI talks to theminimaldhost daemon, which creates and supervises sessions. On macOS (and optionally on Linux),minimaldruns inside a Linux microVM managed by theminvmddaemon. - The package/build plane evaluates declarative package configuration (
minimal.tomlplus Nickel files), builds packages in clean rooms, runs tasks in sandboxes, and manages the content-addressed artifact cache. This is themipCLI.
Binaries
| Binary | Role | Reference |
|---|---|---|
min | Session CLI — create, attach to, and manage sandboxed dev sessions | min |
mip | Package/build CLI — build packages, run tasks, manage the cache | mip |
minimald | Host daemon — serves sessions to min over SSH-on-UDS | minimald |
minvmd | VM daemon — boots the Linux microVM that hosts minimald | minvmd |
Platform availability
- Linux: installs ship
min,mip, andminimald.minimaldruns natively by default;min --minvmdroutes sessions through theminvmdmicroVM instead, which needs a separately obtainedminvmdbinary (a prebuilt Linux amd64minvmdis attached to each GitHub Release; arm64 must build from source). - macOS: installs ship
minandminvmdonly.minimaldalways runs inside the microVM, and the package/build plane runs there with it — there is no native macOSmip. mip run(and itsshell/build/testshorthands) executes tasks in Linux sandboxes and is available on Linux only.
In-sandbox helper commands
Task sandboxes expose a small set of helper commands (add, search, check, run) for use from inside a running sandbox. Those are documented separately in sandbox operations.