Kotlin Help

Get started with Kotlin

Kotlin is a modern but already mature programming language aimed to make developers happier. It's concise, safe, interoperable with Java and other languages, and provides many ways to reuse code between multiple platforms for productive programming.

Pick it up to start building powerful applications!

Learn Kotlin fundamentals

Install Kotlin

Kotlin is included in each IntelliJ IDEA and Android Studio release.
Download and install one of these IDEs to start using Kotlin.

Create your powerful application with Kotlin

Here is how you can take the first steps in developing Kotlin server-side applications.

  1. Create your first backend application:

    Spring

    Ktor

    A mature family of frameworks with an established ecosystem that is used by millions of developers worldwide.

    A lightweight framework for those who value freedom in making architectural decisions.

  2. Use Kotlin and third-party libraries in your application. Learn more about adding library and tool dependencies to your project.

  3. Learn more about Kotlin for server-side:

  4. Join the Kotlin server-side community:

  5. Follow Kotlin on Twitter Twitter, Reddit Reddit, and YouTube Youtube, and don't miss any important ecosystem updates.

If you've encountered any difficulties or problems, report an issue to our issue tracker.

Here you'll learn how to develop and improve your cross-platform mobile application using Kotlin Multiplatform Mobile.

  1. Set up your environment for cross-platform mobile development.

  2. Create your first application for iOS and Android:

  3. Use a wide set of multiplatform libraries to implement the required business logic only once in the shared module. Learn more about adding dependencies.

    Library

    Details

    Ktor

    Docs

    Serialization

    Docs and sample

    Coroutines

    Docs and sample

    DateTime

    Docs

    SQLDelight

    Third-party library. Docs

  4. Learn more about Kotlin Multiplatform Mobile:

  5. Join the Kotlin Multiplatform community:

  6. Follow Kotlin on Twitter Twitter, Reddit Reddit, and YouTube Youtube, and don't miss any important ecosystem updates.

If you've encountered any difficulties or problems, report an issue to our issue tracker.

Kotlin provides an ability to transpile your Kotlin code, the Kotlin standard library, and any compatible dependencies to JavaScript.

Here you'll learn how to develop and improve your frontend web application using Kotlin/JS.

  1. Create your first frontend web application:

  2. Use libraries in your application. Learn more about adding dependencies.

    Library

    Details

    stdlib

    The Kotlin standard library included in all projects by default.

    kotlinx.browser

    The Kotlin library for accessing browser-specific functionality, including typical top-level objects such as document and window.

    kotlinx.html

    The Kotlin library for generating DOM elements using statically-typed HTML builders.

    Ktor

    The Kotlin multiplatform library for networking.

    KVision

    A third-party object-oriented web framework for Kotlin/JS.

    fritz2

    A third-party lightweight, high-performance, independent library for building reactive web apps in Kotlin that are heavily dependent on coroutines and flows.

    Doodle

    A third-party vector-based UI framework that uses browser's capabilities to draw user interfaces.

    Compose for Web, a part of Compose Multiplatform

    The JetBrains framework that brings Google's Jetpack Compose UI toolkit to the browser.

    kotlin-wrappers

    Provide convenient abstractions and deep integrations for one of the most popular JavaScript frameworks. Kotlin wrappers also provide support for a number of adjacent technologies like react-redux, react-router, or styled-components.

  3. Learn more about Kotlin for frontend web development:

  4. Join the Kotlin frontend web community:

  5. Follow Kotlin on Twitter Twitter, Reddit Reddit, and YouTube Youtube, and don't miss any important ecosystem updates.

If you've encountered any difficulties or problems, report an issue to our issue tracker.

Follow Kotlin on Twitter Twitter, Reddit Reddit, and YouTube Youtube, and don't miss any important ecosystem updates.

Support for multiplatform programming is one of Kotlin's key benefits. It reduces time spent writing and maintaining the same code for different platforms while retaining the flexibility and benefits of native programming.

Here you'll learn how to develop and publish a multiplatform library:

  1. Create a multiplatform library:

  2. Use libraries in your application. Learn more about adding dependencies on libraries.

    Library

    Details

    Ktor

    Docs and sample.

    Serialization

    Docs and sample.

    Coroutines

    Docs.

    DateTime

    Docs.

  3. Learn more about Kotlin Multiplatform programming:

  4. Join the Kotlin Multiplatform community:

  5. Follow Kotlin on Twitter Twitter, Reddit Reddit, and YouTube Youtube, and don't miss any important ecosystem updates.

If you've encountered any difficulties or problems, report an issue to our issue tracker.

Is anything missing?

If anything is missing or seems confusing on this page, please share your feedback.

Last modified: 20 March 2023