Setting Up Kotlin: REPL, IntelliJ & Online Playground
Explore the Kotlin playground, REPL, and IntelliJ IDEA to run your first snippets.
Why Set Up an Environment?
Before writing real Kotlin code you need a way to edit, compile, and run it. Kotlin supports three common entry points: the online Playground, the command-line REPL, and IntelliJ IDEA.
Kotlin Playground
The Kotlin Playground at play.kotlinlang.org runs Kotlin in your browser — no install required. Perfect for tiny snippets and learning.
// Try this in the Playground:
fun main() {
println("Hello from Playground!")
}All lessons in this course
- Setting Up Kotlin: REPL, IntelliJ & Online Playground
- val vs var: Immutability From Day One
- Kotlin Basic Types: Int, Double, Boolean, Char
- Your First Kotlin Program: main, println & Input