How to setup ADB and Fastboot on a Mac
1/ Create an Android working folder, maybe on your desktop.
2/ Download android SDK here estimate about 390MB
Unzip the SDK and the contents of the “adt-bundle-mac-x86_64” folder into your android folder, once you have done that, open your android folder. Go into the tools folder inside of it. Double click on the file called “android” and this file UNIX executable will open within a terminal window.
When it finishes opening, check both “Android SDK Tools” and “Android SDK Platform-tools” are selected within the tools folder. Click install and wait for them to download.
When they finish downloading, go into the platform-tools folder inside your android folder, then copy adb and fastboot and paste them into the root of your android folder.
Once have adb and fastboot installed, go ahead and plug in your android device at this time. Make sure android debugging is enabled in settings. Go into Settings > Apps > Developer and check it there (for Gingerbread 2.3 and lower) or go into Settings > Developer Options and check it there for Ice Cream Sandwich or Jellybean.
As of now, there are two ways to access adb and fastboot.
Open a Terminal window. Type “cd” followed by the path you saved your android folder to it should look like this: