BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Create and Run your First Kotlin Project in IntelliJ IDEA

Last Updated: December 17, 2017 by Chaitanya Singh | Filed Under: Kotlin Tutorial

In the previous tutorial we have seen how to create and run your first Kotlin Project in Eclipse IDE. In this guide, we will see how to install IntelliJ IDEA which is an IDE by JetBrains, the same company that developed Kotlin programming language. We will also see how to create and run your first Kotlin project in IntelliJ IDEA.

IntelliJ IDEA Installation

Go to the download page of official Jetbrains website. Choose the Operating System and download the community edition.
download IntelliJ IDEA IDE

Creating your First Kotlin Project in IntelliJ IDEA IDE

Step 1: Select “Create New Project”.
create new kotlin project

Step 2: In “Additional Libraries and Frameworks” section, select Kotlin/JVM and click “Next”.
select kotlin JVM

Step 3: Give the Project Name and click “Finish”.
Give Kotlin project name

Step 4: Create a new Kotlin File in “src” folder of Kotlin Project.
create new kotlin file in project

Step 5: Type the code

Step 6: To run the Kotlin file, click the Kotlin Icon located at the left side as shown in the screenshot below. Select Run ‘HelloKt’ to run the file.
Run Kotlin Project

Step 7: If everything went fine, you should see the output of the program at the bottom of the screen.
Output Of First kotlin Project

Top Related Articles:

  1. Kotlin Tutorial for Beginners | Learn Kotlin
  2. Create and Run your First Kotlin Project in Eclipse IDE
  3. Kotlin Keywords, Soft Keywords and Identifiers
  4. Kotlin Array
  5. Kotlin Class and Objects – Object Oriented Programming (OOP)

About the Author

I have 15 years of experience in the IT industry, working with renowned multinational corporations. Additionally, I have dedicated over a decade to teaching, allowing me to refine my skills in delivering information in a simple and easily understandable manner.

– Chaitanya

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Kotlin Tutorial

  • Kotlin Tutorial
  • Kotlin in Eclipse IDE
  • Kotlin in IntelliJ
  • First Kotlin Program
  • Kotlin Keywords
  • Kotlin Variables
  • Kotlin Type Casting
  • Kotlin operators
  • Kotlin Input/Output
  • Kotlin Comments

Kotlin String

  • Kotlin String

Kotlin Array

  • Kotlin Array
  • Kotlin Range

Control Flow

  • Kotlin if expression
  • Kotlin when expression
  • Kotlin for loop
  • Kotlin while loop
  • Kotlin do-while loop
  • Kotlin continue
  • Kotlin break

Kotlin Function

  • Kotlin Function
  • Kotlin Recursion
  • Kotlin default and named arguments
  • Lambda functions
  • Higher Order Function

Exception Handling

  • Exception Handling
  • Kotlin try catch
  • Multiple catch blocks
  • Nested try catch
  • Throw keyword
  • Kotlin try expression

Kotlin OOP

  • Class and Objects
  • Kotlin Constructors
  • Kotlin Inheritance
  • Visibility Modifiers
  • Kotlin abstract class
  • Kotlin Interfaces
  • Nested and Inner Class
  • Kotlin Data Class
  • Kotlin Sealed Class

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap