The thing is, you can compile it to a native exe
a native windows exe
a native MacOS exe
a native linux exe
if you ever watched a bash script running for 24 minutes and then fail
because again you forgot some single/double quotes or parenthesises or 3times-escapes, then you start value strongly typed languages ... and HashMaps ... and lambdas ... and and and ...
The thing is, you can compile it to a native exe
a native windows exe
a native MacOS exe
a native linux exe
if you ever watched a bash script running for 24 minutes and then fail
because again you forgot some single/double quotes or parenthesises or 3times-escapes, then you start value strongly typed languages ... and HashMaps ... and lambdas ... and and and ...
or use github.com/holgerbrandl/kscript
without all the gradle, Intellij, etc. stuff