Skip to content

rdevz-ph/win-adb-fastboot-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Windows ADB and Fastboot Global Installer

A PowerShell script to automatically download and install the latest Android SDK Platform-Tools (ADB and Fastboot) globally on Windows. The script is interactive and prompts for user confirmation before executing major commands.

Features

  • Automatic Administrator elevation detection and prompt.
  • Securely downloads the latest official platform-tools zip directly from Google APIs.
  • Extracts platform-tools directly to the installation folder (defaults to C:\platform-tools) without nested directories.
  • Automatically adds the installation directory to the System PATH environment variable so adb and fastboot can be run from any command-line window.
  • Asks for y/n confirmation before performing each step.
  • Automatically cleans up downloaded temporary zip archives upon completion.

How to Run

Direct Web Execution

You can download and run the script directly in PowerShell without manually saving the file using the following command:

irm https://raw.githubusercontent.com/rdevz-ph/win-adb-fastboot-installer/main/Install-AdbFastboot.ps1 | iex

Note: Make sure to run this in a PowerShell window. The script will automatically request administrative privileges if they are needed.

Local Execution

If you have already downloaded the script to your computer, open a PowerShell terminal and run:

& "C:\Users\Romel\Desktop\SCRIPTS\Install-AdbFastboot.ps1"

You can also specify a custom installation directory using the -InstallPath parameter:

& "C:\Users\Romel\Desktop\SCRIPTS\Install-AdbFastboot.ps1" -InstallPath "C:\MyAndroidTools"

System Requirements

  • Windows OS
  • PowerShell 5.1 or newer (compatible with Windows PowerShell and PowerShell Core)
  • Internet connection

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A PowerShell script to automatically download and install the latest Android SDK Platform-Tools (ADB and Fastboot) globally on Windows. The script is interactive and prompts for user confirmation before executing major commands.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors