Type below commands in Terminal.
php -r "readfile('http://files.drush.org/drush.phar');" > drush
chmod +x drush
sudo mv drush /usr/local/bin
drush init # Add alias in bash startup file.
Assuming composer is installed.
composer global require drush/drush:dev-master