Thuta Learning
BasicProgrammingbeginner

Get Started

Relax. We'll talk through this in plain words — no textbook voice.

The easiest way to start learning Kotlin is with an online playground. Since you can write and run code without installing anything, it's great if you just want to try out the syntax first. If you're actually building a project, though, using IntelliJ IDEA or Android Studio is a better fit.

kotlin
# hello.kt ဆိုတဲ့ file တစ်ခုထဲမှာ Kotlin code သိမ်းပါ။
# ပြီးရင် terminal / command prompt မှာ compile လုပ်နိုင်ပါတယ်။
kotlinc hello.kt -include-runtime -d hello.jar

# compile ပြီးတဲ့ jar file ကို run လုပ်ပါ။
java -jar hello.jar
You should see
If you're using an online editor, you won't need these compile commands right away.

Summary

Pick an online editor for quick learning, or IntelliJ IDEA / Android Studio for building a real project.

What's Next

Once your setup is sorted, head to Syntax & Hello World to see the basic shape of a Kotlin program.

Easy traps

  • If you've installed the compiler but haven't added it to your PATH, the terminal may say it doesn't recognize the kotlinc command.