How to run a script from the command line on Mac OS?

Looking at this link:
it appears that you can easily run scripts from a command line on Windows:
StoryboardPro -scene /pathToProject/ProjectFile.sboard -batch -compile /pathToJavaScriptFile/javaScriptFile.js

Is this also possible on Mac OS? If so, what’s the syntax for running a script? All I get on is “StoryboardPro command not found” in every directory I’ve tried to run in.

Thanks in advance!!