CLI Commands Overview
The kmp command line tool provides a cohesive suite of commands for the entire Kotlin Multiplatform application lifecycle.
Command Reference Matrix
| Command | Purpose | Key Flags | Primary Output |
|---|---|---|---|
kmp doctor |
Workstation environment health & prerequisites check | --json |
Diagnostics tree |
kmp create |
Multiplatform project scaffolding | --template, --targets, --package, --wizard |
Ready-to-build project |
kmp describe |
Dual build-system inspector (Gradle & module.yaml) |
--json |
Architecture & platform targets |
kmp analyze |
Dependency matrix & version catalog audit | --json |
Dependency audit table |
kmp migrate |
Strangler Fig migration for React Native & Flutter | audit, plan, execute, --pathway |
Migrated KMP project |
kmp skills |
AI Agent Skills package manager | list, search, install, verify |
Certified SKILL.md runbooks |
kmp mcp |
Stdio Model Context Protocol server | None | JSON-RPC 2.0 endpoint |
Global Options
--help,-h: Show help and command options.--version: Show CLI version and build metadata.