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.
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/binand does not requiresudo. - The
kotlin newcommand creates a Kotlin Multiplatform project with selectable targets: Android, iOS, desktop and web. - The generated project contains several
*Appmodules as the entry point for each platform, plus asharedmodule for common code. Modules are registered inproject.yamland configured throughmodule.yaml. kotlin runlists the applications that can be run, or a specific module can be run directly with the-moption.- 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 newwith your existing Gradle project structure, especially theproject.yamlandmodule.yamlformats. - Test the
kotlin publish testflightflow 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.
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.
