Kotlin CLI apps development status

This page summarizes the projects mentioned and recommended in the original post on /r/Kotlin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • kotter

    A declarative, Kotlin-idiomatic API for writing dynamic console applications.

  • Hey, what exactly are you hoping to accomplish? I wrote https://github.com/varabyte/kotter which might be a solution you're interested in. It is a Kotlin-idiomatic API, inspired by Compose, which lets you write terminal applications.

  • clikt

    Multiplatform command line interface parsing for Kotlin

  • Have you tried either clikt or mosaic??

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • mosaic

    An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime (by JakeWharton)

  • Have you tried either clikt or mosaic??

  • upx

    UPX - the Ultimate Packer for eXecutables

  • By default, it produced a binary that is 24MB. I ran UPX on that and it generated a binary that is 6MB.

  • kt-cli-app

    Sample Kotlin command line application generating native image using GraalVM

  • JLine

    JLine is a Java library for handling console input.

  • If you wanted to give writing a CLI a go yourself from scratch, I recommend searching for Java solutions first. Kotter itself is built on top of https://github.com/jline/jline3

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts