If you have Android studio then you already have adb (android debug bridge)
You adb is here: (Mac user only)
You can add this path into your PATH, then you can call it in any place.
It is here:
To run it globally , you need change your .bash_profile like this:
run source .bash_profile to apply the change