« All posts

Scripts for Installing, Updating, and Shipping JVM App CLI Tool

Learn about the scripts used for developing and shipping a CLI tool in Kotlin or Java.

Creating a CLI in Kotlin or Java is straightforward, but shipping it presents challenges across five platforms (macos-arm64, linux-x64/arm64, windows-x64/arm64). This write-up discusses the installation process for the CLI tool developed for devrig.dev, emphasizing the importance of a generated install script that avoids server dependencies and ensures a reliable update path.