This is a sample Kotlin command line application.
brew install namuan/tap/kt-cli-appInstall SDKMAN! (https://sdkman.io/install)
Download GraalVM
sdk install java 22.3.r19-grlInstall native-image builder
sdk use java 22.3.r19-grl
gu install native-imageSet 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 envmake buildmake runBased on the previous work by grodzickir