I don't have a problem using nim as a scripting language as it is (at least on Linux).
I use the shebank to run nim code, so all my all by code starts with: #!/usr/bin/env -S nim r Run Mark the file as executable, and it then compiles and runs as of it were a script.