In IntelliJ IDEA, a project helps you organize everything that is necessary for developing your application in a single unit.
Read moreHow do I run the main function in Kotlin IntelliJ?
When your project is set up correctly, make sure that your main function is called “main” and has a parameter of type Array<String> . Next to it a Kotlin “K” will appear, which you can click on to run your main function.
Read more