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 ..., or run PowerShell as Administrator, 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.See File paths for where each file goes.Examples: ./robot-42-fs, /, C:\
string
Description stored on the staged deployment. Defaults to staged from local files via miru CLI.Examples: "updated gains"

File paths

Config files are placed on your local machine relative to the path specified by --root in the CLI command. When not specified, --root defaults to the current directory. Below are examples of how config files are placed on your local machine when using the CLI.
Linux paths are straightforward—they drop their leading / and are appended to the --root path.
  • Config instance path: the file path specified in the config instance of a deployment.
  • Local path: the path on your local machine when interacting with the CLI.

Examples

Last modified on November 13, 2026