How To Run An App From Mac Termjnal
Terminal User Guide

Shell scripts must be executable files in order to run. You can use the chmod command to indicate that the text file is executable (that is, its contents can be run as a shell script). Mac app finished startup.
Mac App Store: The Mac will only run apps downloaded from the Mac App Store. Mac App Store and identified developers: When you try to open a new app and it’s not on the list of identified. Opening Mac OS X Applications from the Command Line. The Terminal command to launch OS X gui apps is appropriately called ‘open’ and here is how it works at it’s most simple: open -a ApplicationName. That will open the defined app named “ApplicationName”. But open is much more powerful than that.
Open up Terminal (Applications Utilities) and type in: sudo find / -iname.app. This will display all the apps you have on your computer. From there, you can copy and paste the results into a. In the Terminal app on your Mac, enter the complete pathname of the tool’s executable file, followed by any needed arguments, then press Return. If a command is located in one of the shell’s known folders, you can omit path information when entering the command name.
In the Terminal app on your Mac, use the cd command to move into the directory that contains the file you want to make executable. For example:
Enter the chmod command. For example:
% chmod 755 YourScriptName.sh
After making the shell script file executable, you can run it by entering its pathname. For example:
or
How To Run An App From Mac Terminal Space
% cd ~/Documents/Dev/
% ./YourScriptName.sh