How to run Drush in MAC OSX?

You can install as explained in https://modulesunraveled.com/blog/install-drush-7-and-8-and-automatically-switch-versions-based-project.

After that go to settings.php and add the following line in $database array.

  'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',
 

Tags