Kotlin Environment setup with Intellij IDEA Last Updated : 11 Jul, 2025 Comments Improve Suggest changes Like Article Like Report Kotlin is a statically typed, general-purpose programming language developed by JetBrains that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first introduced by JetBrains in 2011. Kotlin is object-oriented language and a better language than Java, but still be fully interoperable with Java code. Let's see how to setup Environment for Kotlin using Intellij IDEA and run our first Kotlin code. To get started, install a recent version of IntelliJ IDEA. You can download the free Community Edition from JetBrains. Once you have installed the Intellij IDEA, create a Kotlin application. Creating a new project from File -> New -> Project.Then select Kotlin -> JVM | IDEA . Name your project and select the SDK version for it. Here we name the project HelloGeeks!. Now you have new project HelloGeeks!. Create a new Kotlin file under the source(src) folder and let's name it is firstapp.kt Once the file is created, write the main function. IntelliJ IDEA offers a template to do this in a faster way. Just type main and press tab. Add a line of code to print out 'Hello Geeks!'. Running the application.Now the application is ready to run. The easiest way is to click the green Run button in the sidebar and select Run 'FirstappKt'. You can run directly by pressing Ctrl + Shift + F10. If your program compiles successfully you will see the output in the Run Tool Window. Comment More info P Praveenruhil Follow Improve Article Tags : Kotlin Explore Kotlin Tutorial 4 min read OverviewIntroduction to Kotlin 4 min read Kotlin Environment setup for Command Line 2 min read Kotlin Environment setup with Intellij IDEA 2 min read Hello World program in Kotlin 2 min read BasicsKotlin Data Types 3 min read Kotlin Variables 2 min read Kotlin Operators 4 min read Kotlin Standard Input/Output 4 min read Kotlin Type Conversion 2 min read Kotlin Expression, Statement and Block 4 min read Control FlowKotlin if-else expression 4 min read Kotlin while loop 2 min read Kotlin do-while loop 2 min read Kotlin for loop 4 min read Kotlin when expression 6 min read Kotlin Unlabelled break 4 min read Kotlin labelled continue 4 min read Array & StringKotlin Array 6 min read Kotlin String 4 min read FunctionsKotlin functions 7 min read Kotlin Default and Named argument 7 min read Kotlin Recursion 3 min read Kotlin Tail Recursion 2 min read Kotlin Lambdas Expressions and Anonymous Functions 6 min read Kotlin Inline Functions 5 min read Kotlin infix function notation 5 min read Kotlin Higher-Order Functions 6 min read CollectionsKotlin Collections 6 min read Kotlin list : Arraylist 6 min read Kotlin list : listOf() 7 min read Kotlin Set : setOf() 4 min read Kotlin hashSetOf() 4 min read Kotlin Map : mapOf() 5 min read Kotlin Hashmap 7 min read OOPs ConceptKotlin Class and Objects 4 min read Kotlin Nested class and Inner class 3 min read Kotlin Setters and Getters 4 min read Kotlin Class Properties and Custom Accessors 3 min read Kotlin Constructor 6 min read Kotlin Visibility Modifiers 6 min read Kotlin Inheritance 10 min read Kotlin Interfaces 7 min read Kotlin Data Classes 3 min read Kotlin Sealed Classes 4 min read Kotlin Abstract class 5 min read Enum Classes in Kotlin 4 min read Kotlin extension function 4 min read Kotlin generics 6 min read Exception HandlingKotlin Exception Handling - try, catch, throw and finally 5 min read Kotlin Nested try block and multiple catch block 3 min read Null SafetyKotlin Null Safety 7 min read Kotlin Type Checking and Smart Casting 3 min read Kotlin Explicit Type Casting 3 min read Like