Skip to main content

Commands

Complete reference for all miren CLI commands.

addon​

CommandDescription
miren addonAddon management commands
miren addon createAttach an addon to an application
miren addon deleteRemove an addon from an application
miren addon destroyDeprecated: use 'miren addon delete'
miren addon listList addons attached to an application
miren addon list-availableList available addons
miren addon rotateRotate an addon's backing credential
miren addon variantsShow variants for an addon

admin​

CommandDescription
miren adminAlias for 'miren app admin run'

alias​

CommandDescription
miren aliasCLI alias management
miren alias listList configured CLI aliases

app​

CommandDescription
miren appGet information about an application
miren app adminApplication-defined admin methods
miren app admin listList application-defined admin methods
miren app admin runCall an admin method on an application
miren app attachDeprecated: use 'miren run attach'
miren app deleteDelete an application and all its resources
miren app disableHold every service of an app at zero instances
miren app enableStart a disabled app again
miren app historyShow deployment history for an application
miren app initInitialize a new application
miren app listList all applications
miren app pool-sizeShow or set a service's active sandbox pool size
miren app restartRestart an application
miren app rollbackRoll back to a previous version
miren app runOpen interactive shell in a new sandbox
miren app runsDeprecated: use 'miren run list'
miren app runs cancelDeprecated: use 'miren run cancel'
miren app set-workload-roleSet the API role for an app's sandbox identity tokens
miren app statusShow current status of an application
miren app topShow resource usage for an application
miren app versionsDeprecated: use 'miren app history --versions'
miren app watchWatch application health and resource usage

apps​

CommandDescription
miren appsDeprecated: use 'miren app list'

auth​

CommandDescription
miren authAuthentication commands
miren auth ciCI authentication binding management
miren auth ci addAdd a CI authentication binding to an application
miren auth ci listList CI authentication bindings for an application
miren auth ci removeRemove a CI authentication binding
miren auth generateGenerate authentication config file
miren auth providerIdentity provider management
miren auth provider addAdd an identity provider for route protection
miren auth provider add githubAdd a GitHub identity provider
miren auth provider add oidcAdd an OIDC identity provider
miren auth provider add passwordAdd a shared-password identity provider
miren auth provider listList identity providers
miren auth provider removeRemove an identity provider
miren auth provider showShow an identity provider
miren auth revocationInspect revoked client certificates
miren auth revocation listList revoked client certificates
miren auth revokeRevoke a client certificate so the cluster refuses it

cloud​

CommandDescription
miren cloudMiren Cloud authentication
miren cloud loginAuthenticate with miren.cloud
miren cloud logoutRemove local authentication credentials
miren cloud whoamiDisplay information about the current authenticated user

cluster​

CommandDescription
miren clusterManage configured clusters
miren cluster addAdd a new cluster configuration
miren cluster availableList the clusters Miren Cloud has for your account
miren cluster currentShow the globally selected cluster
miren cluster export-addressExport cluster address with TLS fingerprint for MIREN_CLUSTER
miren cluster listList all configured clusters
miren cluster removeRemove a cluster from the configuration
miren cluster restartRestart the active cluster's server and wait for it to report ready
miren cluster switchSwitch to a different cluster
miren cluster upgradeA remote cluster: upgrade its server and wait for it to report ready

config​

CommandDescription
miren configConfiguration file management
miren config infoShow configuration file locations and format
miren config loadLoad config and merge it with your current config

deploy​

CommandDescription
miren deployAlias for 'miren deployment create'
miren deploy cancelDeprecated: use 'miren deployment cancel'
miren deploy targetDeprecated: use 'miren target list'
miren deploy target addDeprecated: use 'miren target add'
miren deploy target listDeprecated: use 'miren target list'
miren deploy target removeDeprecated: use 'miren target remove'
miren deploy target set-defaultSet the default deployment target

deployment​

CommandDescription
miren deploymentManage deployments
miren deployment cancelCancel an in-progress deployment
miren deployment createDeploy an application

detective​

CommandDescription
miren detectiveDebug with Workbench and read-only local source tools

disk​

CommandDescription
miren diskDisk backup, recovery, and acceleration
miren disk acceleratorFaster block-device disks via the lbd kernel module
miren disk accelerator installBuild and load the lbd kernel module on a running node
miren disk accelerator statusShow whether accelerator mode can run on this host
miren disk accelerator uninstallUnload and remove the lbd kernel module
miren disk backupBackup a disk to a snapshot file
miren disk list-deletedList deleted disks available for recovery
miren disk restoreRestore a disk from a snapshot file
miren disk undeleteRestore a recently deleted disk

doctor​

CommandDescription
miren doctorDiagnose miren environment and connectivity

download​

CommandDescription
miren downloadDownload management commands
miren download releaseDeprecated: use 'miren server download-release'

env​

CommandDescription
miren envEnvironment variable management commands
miren env deleteDelete environment variables
miren env getGet an environment variable value
miren env listList all environment variables
miren env setSet environment variables for an application

help​

CommandDescription
miren helpShow help for one or more commands

init​

CommandDescription
miren initAlias for 'miren app init'

login​

CommandDescription
miren loginAlias for 'miren cloud login'

logout​

CommandDescription
miren logoutAlias for 'miren cloud logout'

logs​

CommandDescription
miren logsView logs (defaults to app logs)
miren logs appView application logs
miren logs buildView build logs
miren logs runView logs for a task run
miren logs sandboxView sandbox logs
miren logs systemView system logs

rollback​

CommandDescription
miren rollbackAlias for 'miren app rollback'

route​

CommandDescription
miren routeManage HTTP routes
miren route deleteRemove an HTTP route
miren route downPut an HTTP route into maintenance
miren route listList all HTTP routes
miren route protectProtect an HTTP route with an identity provider
miren route removeDeprecated: use 'miren route delete'
miren route setCreate or update an HTTP route
miren route set-defaultSet an app as the default route
miren route showShow details of an HTTP route
miren route timeoutOverride the ingress request timeout for an HTTP route
miren route tls-checkAsk an app before issuing certificates for names under its route
miren route unprotectRemove identity-provider protection from an HTTP route
miren route unset-defaultRemove the default route
miren route upBring an HTTP route out of maintenance
miren route wafManage WAF protection on an HTTP route

run​

CommandDescription
miren runManage application task runs
miren run attachAttach to a running task
miren run cancelEnd a run early
miren run listList recent task runs

runner​

CommandDescription
miren runnerRunner management commands
miren runner cordonMark a runner unschedulable without stopping its sandboxes
miren runner deleteRemove a registered runner and clean up resources
miren runner drainCordon a runner and evict its sandboxes onto other nodes
miren runner installInstall systemd service for miren runner
miren runner joinJoin this machine to a coordinator as a runner
miren runner listList all registered runners
miren runner operationsDurable runner restart and upgrade operations
miren runner operations abandonGive up on an unfinished operation
miren runner operations listList recorded restart and upgrade operations
miren runner operations runExecute or resume an operation in the foreground (normally launched by miren upgrade)
miren runner operations showShow one restart or upgrade operation
miren runner queryQuery a runner's live host activity and print the JSON result
miren runner reissueRotate this runner's certificate in place (requires a still-valid cert), keeping its identity
miren runner removeDeprecated: use 'miren runner delete'
miren runner service-statusShow miren-runner systemd service status
miren runner startStart this machine as a distributed runner
miren runner statusShow runner health and configuration
miren runner tokenManage join tokens
miren runner token createCreate a join token for a runner
miren runner token listList all join tokens
miren runner token revokeRevoke a join token
miren runner uncordonMake a cordoned runner eligible for scheduling again
miren runner uninstallRemove systemd service for miren runner
miren runner upgradeUpgrade miren runner to the latest or specified version
miren runner upgrade rollbackRollback runner to previous version

sandbox​

CommandDescription
miren sandboxSandbox management commands
miren sandbox deleteDelete a dead sandbox
miren sandbox execOpen interactive shell in an existing sandbox
miren sandbox inspectShow one sandbox's resource usage and failure history
miren sandbox listList sandboxes (excludes dead by default)
miren sandbox stopStop a sandbox
miren sandbox topShow cluster-wide resource usage

sandbox-pool​

CommandDescription
miren sandbox-poolSandbox pool management commands
miren sandbox-pool listDeprecated: use 'miren debug sandbox-pool list'
miren sandbox-pool set-desiredDeprecated: use 'miren debug sandbox-pool set-desired'

secret​

CommandDescription
miren secretSecret store management commands
miren secret deletePermanently delete a version's value
miren secret destroyDeprecated: use 'miren secret delete'
miren secret disableStop a version from resolving
miren secret enableLet a disabled version resolve again
miren secret keyringShow the cluster keyring and any rotation in flight
miren secret listList stored secrets
miren secret rotate-keyRotate the cluster key that encrypts stored secrets
miren secret setStore a secret value
miren secret versionsShow a secret's versions

server​

CommandDescription
miren serverAlias for 'miren server start'
miren server configServer configuration management commands
miren server config generateGenerate a server configuration file from current settings
miren server config validateValidate a server configuration file
miren server containerRun the miren server in a container (Docker or Podman)
miren server container installInstall miren server in a container
miren server container statusShow status of miren server container
miren server container uninstallUninstall miren server container
miren server download-releaseDownload and extract miren release
miren server identity-anchorMove where this cluster's workload identity is anchored
miren server installInstall systemd service for miren server
miren server operationsDurable server restart and upgrade operations
miren server operations abandonGive up on an unfinished operation, including a data restore that keeps the server from starting
miren server operations listList recorded restart and upgrade operations
miren server operations runExecute or resume an operation in the foreground (normally launched by miren upgrade)
miren server operations showShow one restart or upgrade operation
miren server registerRegister this cluster with miren.cloud
miren server register statusShow cluster registration status
miren server restartRestart the systemd-managed miren server and wait for it to report ready
miren server startStart the miren server
miren server statusShow miren service status
miren server uninstallRemove systemd service for miren server
miren server unregisterDetach this cluster from miren.cloud
miren server upgradeUpgrade miren server (deprecated: use 'miren upgrade')
miren server upgrade rollbackRollback server to previous version

target​

CommandDescription
miren targetManage deployment targets
miren target addAdd a deployment target
miren target listList deployment targets
miren target removeRemove a deployment target

top​

CommandDescription
miren topAlias for 'miren sandbox top'

upgrade​

CommandDescription
miren upgradeThis machine: upgrade miren (server or runner and CLI on a systemd host, otherwise CLI)

version​

CommandDescription
miren versionPrint the version

whoami​

CommandDescription
miren whoamiAlias for 'miren cloud whoami'

Advanced / Debug Commands​

warning

These commands are intended for advanced debugging and troubleshooting. They may change without notice.

CommandDescription
miren debugDebug and troubleshooting commands
miren debug advertiseShow which addresses the server would advertise and why
miren debug bundleCreate a support bundle with system debug information
miren debug cloud-syncShow runtime entity sync diagnostics
miren debug colorsPrint some colors
miren debug connectionTest connectivity and authentication with a server
miren debug ctrRun ctr with miren defaults
miren debug ctr nukeNuke a containerd namespace
miren debug deploy-eventsRender a 'miren deploy --format jsonl' stream as readable output
miren debug diskDisk entity debug commands
miren debug disk adoptCreate a disk bound to an existing cloud volume
miren debug disk backupBack up a disk by reading its image directly (break-glass)
miren debug disk createCreate a disk entity for testing
miren debug disk deleteDelete a disk entity
miren debug disk leaseCreate a disk lease for testing
miren debug disk lease-deleteDelete a disk lease entity
miren debug disk lease-listList all disk lease entities
miren debug disk lease-releaseRelease a disk lease
miren debug disk lease-statusShow detailed status of a disk lease
miren debug disk listList all disk entities
miren debug disk list-deletedRead the soft-delete holding area directly (break-glass)
miren debug disk mountsList all mounted disks from /proc/mounts
miren debug disk restoreRestore a disk by writing its image directly (break-glass)
miren debug disk rewindCreate a disk from a cloud volume as of a point in time
miren debug disk statusShow status of a disk entity
miren debug disk undeleteRecover a deleted disk by moving its data directly (break-glass)
miren debug entityEntity store debug commands
miren debug entity createCreate a new entity
miren debug entity deleteDelete an entity
miren debug entity ensureEnsure an entity exists
miren debug entity getGet an entity
miren debug entity listList entities
miren debug entity patchPatch an existing entity
miren debug entity putPut an entity
miren debug entity replaceReplace an existing entity
miren debug etcdctlRun etcdctl against Miren's embedded etcd
miren debug netdbNetwork database debug commands
miren debug netdb gcFind and release orphaned IP leases
miren debug netdb listList all IP leases from netdb
miren debug netdb releaseManually release IP leases
miren debug netdb statusShow IP allocation status by subnet
miren debug rbacFetch and display RBAC rules from miren.cloud
miren debug rbac testTest RBAC evaluation with fetched rules
miren debug reindexRebuild all entity indexes from scratch
miren debug sagaSaga execution debug commands
miren debug saga abandonGive up a blocked saga execution (break-glass)
miren debug saga listList saga executions
miren debug saga showShow a saga execution in detail
miren debug sandbox-poolSandbox pool diagnostics
miren debug sandbox-pool listList all sandbox pools
miren debug sandbox-pool set-desiredSet desired instance count for a sandbox pool