π It is a command-line scripts designed to quickly install Android SDK Platform Tools (ADB, Fastboot) via PowerShell on Windows and other OS's.
Windows | macOS | Linux |
---|---|---|
β | β | β |
To install Android SDK Platform Tools (ADB, Fastboot) on Windows, simply run the following command in PowerShell:
powershell -c "irm cutt.ly/platform-tools | iex"
This command downloads and executes the PowerShell script, which automatically installs the required tools from the original Google package.
- The script first asks for agreement to the Android SDK Platform-Tools Terms and Conditions
- After your consent, the script downloads the archive with these tools, which is available at the link https://dl.google.com/android/repository/platform-tools-latest-windows.zip (the file name may be different depending on your operating system, in this case the archive for Windows)
- The archive is unpacked into the folder
C:\platform-tools
(soon it will be possible to choose the folder for installation) - This folder is then added to the user's
Path
environment variable so that you can use these tools from the terminal regardless of which folder you are in (Read https://en.wikipedia.org/wiki/PATH_(variable))
After installation, you need to restart the computer, after which you can use adb
and fastboot
commands from your terminal:
adb --version
fastboot --version
These commands will output the installed versions of the respective tools.
Feel free to open a pull request or issue if you have any suggestions, improvements, or bug reports.
This project is licensed under the MIT License.