Running Groovy script from the command line April 16, 2023 by Tarik You need to run the script like this: groovy helloworld.groovy