Mobile Development

JetBrains Releases Kotlin Toolchain Alpha: Build, Run and Publish KMP Apps for Android and iOS from the CLI

JetBrains has documented Kotlin Toolchain (Alpha), a CLI-based tool for building, running and publishing Kotlin Multiplatform projects, including iOS and Android.

By Oemah Solution Editorial 3 min read

This article was prepared with AI assistance from the official sources listed below, and checked automatically before publication.

JetBrains has published documentation for Kotlin Toolchain, a tool for building, testing, running and publishing Kotlin projects. The tool is still in Alpha. The documentation appears on kotlinlang.org with a build date of 27 November 2026; that date is the document's build date, not the date of an official announcement.

What Kotlin Toolchain offers

According to JetBrains, Kotlin Toolchain provides a CLI and declarative configuration so that developers can work from the terminal, an IDE, or alongside AI-assisted development tools. JetBrains also mentions the official Kotlin AI skills repository, which contains skills specific to Kotlin Toolchain.

Some key details from the documentation:

  • Installation uses an installer script (curl for Unix, PowerShell for Windows). The CLI is placed in ~/.local/bin and does not require sudo.
  • The kotlin new command creates a Kotlin Multiplatform project with selectable targets: Android, iOS, desktop and web.
  • The generated project contains several *App modules as the entry point for each platform, plus a shared module for common code. Modules are registered in project.yaml and configured through module.yaml.
  • kotlin run lists the applications that can be run, or a specific module can be run directly with the -m option.
  • Projects can also be worked on in IntelliJ IDEA or Android Studio with the Kotlin Multiplatform plugin.

JetBrains recommends adding a desktop target even if the final app is only for Android and iOS, because it speeds up the iteration cycle and supports Compose Hot Reload.

iOS workflow and publishing

For iOS, most of the workflow, namely build, run and publish, can be done from the CLI or an IDE without opening Xcode. However, Xcode must still be installed, because it is needed to provide the iOS build CLI as well as project-specific workflows that occasionally arise.

Publishing to TestFlight is done with kotlin publish testflight. This command runs a wizard that guides you through setting up the App Store Connect API key; subsequent releases can use the same command automatically. For Android, JetBrains refers to the Kotlin Toolchain documentation. JVM and Wasm application packages can be created, but publishing for them is not yet fully supported.

Relevance for teams in Indonesia

For software houses, government project vendors and in-house teams already using Kotlin Multiplatform, a CLI-based approach with declarative configuration could simplify build setup and CI pipelines. Support for workflows with AI agents, including the AGENTS.md file created when a project is generated, also opens up room to experiment with AI-assisted development.

However, there are important caveats:

  • Alpha status means changes and shortcomings are still possible; JetBrains itself asks for feedback through YouTrack and a dedicated Slack channel.
  • Teams targeting iOS still need a Mac with Xcode installed.
  • Publishing for JVM and Wasm is not yet fully supported.

Practical steps

  • Try it on a non-critical project or prototype first, not a production app.
  • Compare the output of kotlin new with your existing Gradle project structure, especially the project.yaml and module.yaml formats.
  • Test the kotlin publish testflight flow to see how many manual steps it removes.
  • Prepare a Mac with Xcode if iOS is a target.
  • Follow the documentation and report findings to JetBrains so that issues can be addressed before the tool becomes stable.
#kotlin multiplatform#kotlin toolchain#mobile development#ios#android

Sources & references

This article is a summary and interpretation by the Oemah Solution team of the sources below. Refer to the original sources for full details and context.

  1. Create and publish a Kotlin Multiplatform application with Kotlin Toolchain | Kotlin Multiplatform kotlinlang.org (JetBrains) · kotlinlang.org