Nexus Tools is a simple installer for the Android SDK Platform Tools package, which includes ADB, Fastboot, Systrace, and other applications. Nexus Tools can run on Linux, macOS, Windows, and Chrome OS.
Nexus Tools downloads the latest Platform tools package directly from Google's servers (so you're always getting the latest version), saves them to ~/.nexustools
, and adds the directory to your system's path. The installer also downloads a USB Vendor ID list and UDEV rules file to fix common USB connection issues.
Nexus Tools does not need to be downloaded, just paste this command into the terminal:
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
To uninstall, run this command:
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
Once Nexus Tools is finished, you can run adb
, fastboot
, and other commands straight from the terminal. You may need to open a new terminal window for changes to take effect. To update, just run the installer again.
Compatible | Architectures | Notes | |
---|---|---|---|
Linux | Yes | x86 | - |
macOS | Yes | x86, Apple Silicon | Platform tools run in Rosetta 2 compatibility layer) on Apple Silicon Macs, because Google doesn't provide native ARM binaries yet. |
Windows | Yes | x86 | You have to run Nexus Tools in the Windows Subsystem for Linux. WSL doesn't support USB connections, but it is possible to use ADB over a Wi-Fi connection using a third-party app or Android 11+. |
Chrome OS | Yes | x86 | Chrome OS 75 or newer is required for USB support. |
Nexus Tools uses Google Analytics to transmit your operating system and CPU architecture during the installation process. This data is not sold or shared in any way, it's only for me to know which hardware platforms I should focus my attention on. You can disable Google Analytics by adding the no-analytics
parameter to the install command, like this:
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh) no-analytics
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http:https://www.gnu.org/licenses/>.