https://github.com/cli-stuff/platform-tools-installer-windows
๐โโ๏ธ Command line script to easily install platform-tools (adb, fastboot) on Windowsโข
https://github.com/cli-stuff/platform-tools-installer-windows
adb android android-sdk debloating fastboot platform-tools windows
Last synced: about 1 year ago
JSON representation
๐โโ๏ธ Command line script to easily install platform-tools (adb, fastboot) on Windowsโข
- Host: GitHub
- URL: https://github.com/cli-stuff/platform-tools-installer-windows
- Owner: cli-stuff
- License: mit
- Created: 2024-09-13T12:36:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T16:57:45.000Z (over 1 year ago)
- Last Synced: 2025-02-06T17:42:49.695Z (over 1 year ago)
- Topics: adb, android, android-sdk, debloating, fastboot, platform-tools, windows
- Language: PowerShell
- Homepage:
- Size: 24.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# platform-tools-installer-windows
๐ It is a command-line script designed to quickly install [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools) (ADB, Fastboot) via PowerShell on Windows
## ๐ ๏ธ Installation
To install Android SDK Platform Tools (ADB, Fastboot) on Windows, simply run the following command in PowerShell:
```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](https://dl.google.com/android/repository/platform-tools-latest-windows.zip).
## ๐ค How does it work?
1. The script first asks for agreement to the [Android SDK Platform-Tools Terms and Conditions](https://developer.android.com/studio/terms)
2. After your consent, the script downloads the archive with these tools, which is available at the link (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)](https://en.wikipedia.org/wiki/PATH_(variable)#DOS,_OS/2,_and_Windows:~:text=When%20a%20command%20is,locations%2C%20or%20invalid%20locations.))
## ๐ Usage
After installation, you need to restart the computer, after which you can use `adb` and `fastboot` commands from your terminal:
```bash
adb --version
fastboot --version
```
These commands will output the installed versions of the respective tools.
## ๐งโ๐ป Contributing
Feel free to open a [pull request](https://github.com/cli-stuff/platform-tools-installers-cli/pulls) or [issue](https://github.com/cli-stuff/platform-tools-installers-cli/issues) if you have any suggestions, improvements, or bug reports.
## โค๏ธ Support
If you like this project, consider supporting it by starring โญ it on GitHub, sharing it with your friends, or [buying me a coffee โ](https://github.com/cli-stuff/platform-tools-installers-cli?sponsor=1)
## ๐ License
This project is licensed under the [MIT License](LICENSE).