Go to Intellij Preferences -> Build, Execution, Deployment -> Kotlin Compiler . Update Language version and Api version to the one you wish. This should be the accepted answer.
Read moreHow do I change my Kotlin plugin version?
You can follow these instructions to install the preview version of the Kotlin Plugin for IntelliJ IDEA or Android Studio.
Read moreWhat is the Kotlin plugin?
The Kotlin plugin provides language support in IntelliJ IDEA and Android Studio . Getting Started in IntelliJ IDEA. Getting Started in Android Studio. Public Slack. Issue tracker.
Read moreWhat is the current version of Kotlin?
Kotlin 1.6. 0 is now officially released with Stable exhaustive whens, Kover, and new memory manager for Kotlin/Native!
Read moreHow do I know if Kotlin is installed?
Here are few checks you can perform to see if everything works:
Read moreWhat is current version of Kotlin?
Kotlin 1.6. 0 is now officially released with Stable exhaustive whens, Kover, and new memory manager for Kotlin/Native!
Read moreHow do I find my Kotlin plugin version?
Select Tools | Kotlin | Configure Kotlin Plugin Updates. In the Update channel list, select the Early Access Preview X channel, where X is the latest version of Kotlin. Click Check again. The latest EAP build version appears.
Read more