COMSOL Multiphysics® Installation Guide > Running COMSOL on OS X > Running COMSOL from a Terminal Window

Running COMSOL from a Terminal Window
COMSOL can also be launched from a terminal window using the shell script COMSOL52a/Multiphysics/bin/comsol.
To run the comsol command more easily, include the COMSOL52a/bin directory in the path or make a symbolic link from /usr/bin/comsol to the comsol script. Those with administrator privileges can create a symbolic link with the command
sudo ln -s /Applications/COMSOL52a/Multiphysics/bin/comsol /usr/bin/comsol
(assuming COMSOL is installed in the Applications folder). This command asks for a password before creating the link.
The comsol command must not be moved from the COMSOL52a/Multiphysics/bin folder. The COMSOL applications also use this script.