You can write csx files since 2015 probably, so it has been really easy for the last 4 years.
In F# we are speaking of more than a decade, before go even existed. On the JVM you could have used groovy for even longer than that.
For the rest of the points I guess that you never heard about .Net core. And I’m quite curious about the reason that you are unable to install the JRE on Linux, that is something that has been possible for at least two decades and with much, much less RAM than 512MB.