Sorry, seems like a stupid question but I cannot find an answer (and am not on mac to test)!
In Windows, I open notepad and copy/paste in a bunch of curl commands, save as a .bat and click on it. Then it runs, easy peasy.
In Mac, will I get the same behaviour if I save the file as .sh? Do I need to install anything from terminal?