I'm following a Minecraft modding tutorial and they are using a gradlew.bat file which, as I am on macOS, I cannot run it. is there a workaround or alternative other than just switching machines and doing it on Windows or a virtual machine?
You should have an executable gradlew
shell script which you can run from the command line, analogous to gradlew.bat
on Windows.