Skip to content

CLI Reference

Mithrandir is invoked as mithrandir <command> [options].

Global Flags

FlagDescription
--yes, -ySkip confirmation prompts
--helpShow help

Commands

Setup & Configuration

CommandDescription
setupInteractive setup wizard
configShow current .env settings
doctorDiagnose setup issues

App Management

CommandDescription
installInstall an app or system component
uninstallUninstall an app or the full system
reinstallReinstall an app from scratch
startStart a stopped app
stopStop a running app
restartRestart a running app
updateUpdate container images

Backup & Restore

CommandDescription
backupBackup apps (with subcommands for list, delete, verify, config)
restoreRestore app(s) from backup
recoverFull disaster recovery from remote backup

Monitoring

CommandDescription
statusShow installed apps and system status
healthCheck system health
logView container logs
graphShow inter-app dependency tree
capacityShow system capacity and resource scores

Maintenance

CommandDescription
self-updateUpdate the CLI from git
versionShow version and git commit hash
uiBuild and serve the UI dashboard
docsBuild and serve the documentation site
completionsGenerate shell completion scripts