- Open Terminal
- Type/Paste the following
bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
- Press Enter
That is it. ADB and Fastboot will now install.
If you install Nexus Tools and running 'adb' or 'fastboot' does nothing, run this command to add it to your path variable:
PATH=~/.nexustools:$PATH
The command line will download and install the script, detecting which version of your OS you are running and then install the appropriate tools.