![Forrest logo](/images/logo.png)
kotlin:tldr:6e2b6
kotlin: Display Kotlin and JVM version.
$ kotlin -version
try on your machine
The command "kotlin -version" is used to retrieve the current version of the Kotlin programming language installed on your computer.
When you execute the command in your command line interface (such as the terminal or command prompt), it will display the version number of the Kotlin compiler installed on your system. This information can be useful if you need to verify which version of Kotlin you are using or if you want to ensure that you have the latest version installed.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.