Skip to content

CLI Reference

Every merka command at a glance. All commands support --json for machine-readable output and --non-interactive to skip prompts.

CommandWhat it does
merkaOpens the TUI (interactive shell)
merka --non-interactiveRuns the zero-input flow headlessly (identity, recovery, system summary)
merka statusShows system health and service status
merka activateClaims the system for your identity
merka connectConnects to an existing Merka system by URL
merka setupGuided onboarding wizard (identity, connect, activate)
merka doctorChecks your environment for common issues
CommandWhat it does
merka identity showShows device ID, fingerprint, tier, link state
merka identity devicesLists all devices under your identity
merka identity linkLinks this device to a cosmic.rocks account
merka identity unlinkRemoves the cosmic.rocks account link
merka identity reset-localDeletes the local identity (requires --force)
merka recoverRestores identity from your MK-… recovery key (prompted, or --recovery-key)
CommandWhat it does
merka system bring-upHigh-level system preparation wizard (early preview)
merka system trust-caTrusts your system’s certificate on this device
merka system install discoverDiscovers BYO hardware for installation
merka system install planReviews proposed installation schema
merka system install runValidates and confirms a BYO installation (provisioning step coming soon)
CommandWhat it does
merka settingsOpens settings (or shows as JSON)
merka diagnostics exportCreates a support bundle
merka self updateChecks for and installs updates
merka self versionShows the installed version
FlagEffect
--jsonMachine-readable JSON output
--non-interactiveSkip all prompts; missing inputs become errors
--log-level <level>Override log level (error/warn/info/debug/trace)
--advancedShow hidden commands in help output