Is Kotlin Native ready for CLI tools development ?

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

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

    Scripting enhancements for Kotlin

  • I am surprised not to see any mention of kscript https://github.com/holgerbrandl/kscript

  • kotlinx.coroutines

    Library support for Kotlin coroutines

  • Coroutines are not built for arm (and other libraries). Maybe I am overestimating the importance of this, but I would absolutely want to run my CLI tools on machines like the raspberry pi!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • kotlinx-cli

    Pure Kotlin implementation of a generic CLI parser.

  • There is https://github.com/Kotlin/kotlinx-cli but you'll have to weigh this against quality and completeness of third party efforts as you've already discovered (in any case you'll probably need multiple libraries).

  • cobra

    A Commander for modern Go CLI interactions

  • My go-to for CLI tools nowadays is Golang with cobra

  • ionos-dyndns

    dyndns daemon for ionos domains

  • Hey! I am currently investigating the current state of Kotlin for such tools/applications. I, therefore, created a sample dyndns cli tool for my webhoster (see https://github.com/sellmair/ionos-dyndns) as example/dogfooding project.

  • okio

    A modern I/O library for Android, Java, and Kotlin Multiplatform.

  • No "official" files API available for native right now. However, this okio implementation looks really, really cool already: https://github.com/square/okio/issues/797#issuecomment-748781380

  • kotlin-shell

    Tool for performing shell-like programing in Kotlin

  • Kotlin-shell looks pretty interesting too: https://github.com/jakubriegel/kotlin-shell

  • 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
  • maven-mvnd

    Apache Maven Daemon

  • Maven is slow, but hopefully mvnd can fix that.

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