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 ..., or run PowerShell as Administrator, 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.See File paths for where each file goes.Examples: ./robot-42-fs, /, C:\
boolean
Overwrite files that already exist at the destination. Without --force, an existing file throws an error and is left untouched.

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