Skip to main content
Stage a deployment of a release from config files on disk. This is the inverse of miru device clone. The deployment is staged, not deployed.

API key scopes

If staging from a CI pipeline, the following API key scopes are required:
  • devices:read
  • releases:read
  • config_instances:write
  • deployments:write
  • deployments:stage

Usage

By default, staging a device reads the config files from the current directory.
Use sudo miru ... to read config files from restricted paths.
Arguments
string
required
Device name as the dashboard shows it. Names are unique within a workspace.Examples: robot-42
Flags
string
required
Release version to stage, matched exactly.Examples: v1.2.0
string
Directory to read the config files from. Defaults to the current directory.Each slot is read from its device path relative to this directory, so /srv/miru/configs/mobility.json is read from {--root}/srv/miru/configs/mobility.json. Pass / to read at the computer’s root.Examples: ./robot-42-fs, /
string
Description stored on the staged deployment. Defaults to staged from local files via miru CLI.Examples: "updated gains"

Examples

Last modified on August 28, 2026