This is a sample Kotlin command line application.
brew install namuan/tap/kt-cli-app
Install SDKMAN! (https://sdkman.io/install)
Download GraalVM
sdk install java 22.3.r19-grl
Install native-image builder
sdk use java 22.3.r19-grl
gu install native-image
Set environment variable for GraalVM. Make sure you have it correctly setup if you get the following error
--------------------------------------------------------
'gu' tool wasn't found. This probably means that JDK at isn't a GraalVM distribution.
export JAVA_HOME=`sdk home java 22.3.r19-grl`
Alternatively, use the following command from the project directory
sdk env
make build
make run
Based on the previous work by grodzickir