Practical uses
- Develop modern Android apps
- Build concise JVM backend services
- Share code across mobile platforms
- Create Gradle build logic and scripting tools
A concise, modern language for Android apps that runs on the JVM.
Kotlin is Google's recommended language for Android development. It runs on the JVM and works with existing Java libraries, while adding concise syntax, null safety in the type system and coroutines for async work.
For Android apps, install Android Studio, which includes everything you need. To learn just the language, install the Kotlin compiler (it runs anywhere Java does) or use play.kotlinlang.org in your browser with no install.
# Fastest: https://play.kotlinlang.org (no install)
# For Android development:
winget install Google.AndroidStudio
# Just the compiler (needs a JDK):
winget install EclipseAdoptium.Temurin.21.JDK
# then via SDKMAN in WSL/Git Bash, or scoop install kotlin
kotlinc hello.kt -include-runtime -d hello.jar
java -jar hello.jarLearn the basics first, then pick up these tools when a project needs them.