corbindavenport / nexus-tools

Installer for ADB, Fastboot, and other Android tools on Linux, macOS, Chrome OS, and Windows
http://forum.xda-developers.com/general/general/tool-nexus-tools-2-8-featured-xda-t3258661
GNU General Public License v3.0
844 stars 86 forks source link
adb android bash dart dartlang fastboot linux mac macos script wsl wsl2

Nexus Tools

Nexus Tools is an installer and updater for Android SDK Platform Tools, which includes ADB, Fastboot, and other applications. Nexus Tools is writen in Dart, and 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. The tools are installed to ~/.nexustools (%AppData%\NexusTools on Windows), and adds the directory to your system's path. On Windows, Nexus Tools can optionally install Koush's Universal ADB Driver. The SDK Platform Tools can be updated by running nexustools -i, or you can uninstall everything by running nexustools -r.

Screenshot of Nexus Tools on macOS and Windows 11

How to use on Linux, macOS, and Chrome OS

Paste this command into your Terminal app:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/main/install.sh)

You can also download the Mac and Linux versions from the latest release page, un-zip the file, and run it from the Terminal.

How to use on Windows

Open Windows PowerShell from the Start Menu and paste this command:

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/corbindavenport/nexus-tools/main/install.ps1'))

You can also download the Windows version from the latest release page, un-zip the file, and run it from Windows PowerShell or the Command Prompt.

Privacy & Analytics

Nexus Tools uses Plausible Analytics to transmit your operating system and CPU architecture during the installation process for development purposes. This analytics data is viewable publicly at plausible.io/nexustools.corbin.io. You can disable analytics reporting by adding the --no-analytics parameter to the install command, like this:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/main/install.sh) --no-analytics

It also works when running Nexus Tools locally:

nexustools --no-analytics

Nexus Tools has been featured on MakeUseOf, XDA, Android Police, 9to5Google, Wccftech, Redmond Pie, and other places.