Skip to main content
Write the config files of a device’s current deployment onto the local file system.

API key scopes

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

Usage

By default, cloning a device writes the config files to the current directory.
Use sudo miru ... to write config files to restricted paths.
Arguments
string
required
Device name as the dashboard shows it. Names are unique within a workspace.The device must have a current deployment. To clone a deployment that is not the current one, use miru deployment clone.Examples: robot-42
Flags
string
Directory to write the cloned config files under. Defaults to the current directory.Each file is written at its device path relative to this directory, so /srv/miru/configs/mobility.json lands at {--root}/srv/miru/configs/mobility.json. Pass / to write at the computer’s root.Examples: ./robot-42-fs, /
boolean
Overwrite files that already exist at the destination. Without --force, an existing file throws an error and is left untouched.

Examples

Last modified on August 28, 2026