Skip to content

πŸ„β€β™‚οΈ Command line scripts to easily install platform-tools (adb, fastboot)

License

Notifications You must be signed in to change notification settings

cli-stuff/platform-tools-installers-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

platform-tools-installers-cli

πŸš€ It is a command-line scripts designed to quickly install Android SDK Platform Tools (ADB, Fastboot) via PowerShell on Windows and other OS's.

πŸ“¦ Supported Platforms

Windows logo
Windows
macOS logomacOS logo
macOS
Linux logo
Linux
βœ… ❌ ❌

πŸ› οΈ Installation (Windows)

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.

πŸ€” How does it work?

  1. The script first asks for agreement to the Android SDK Platform-Tools Terms and Conditions
  2. 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)
  3. The archive is unpacked into the folder C:\platform-tools (soon it will be possible to choose the folder for installation)
  4. 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))

πŸš€ Usage

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.

πŸ§‘β€πŸ’» Contributing

Feel free to open a pull request or issue if you have any suggestions, improvements, or bug reports.

πŸ“œ License

This project is licensed under the MIT License.

About

πŸ„β€β™‚οΈ Command line scripts to easily install platform-tools (adb, fastboot)

Topics

Resources

License

Stars

Watchers

Forks