This article explains how to install Android Debug Bridge (ADB), and provides examples of some commands. The information contained here applies to anyone who made your Android phone: Samsung, Google, Huawei, Xiaomi, etc.
How to Install and Fully Setup ADB (Android Debug Bridge) – Step-by-Step Guide
Google has released two tools called ADB and fastboot, both of which are available in a package called Platform Tools. They are command line tools that allow you to modify and control your Android phone by sending commands to it through your computer.
Both utilities are available from Android.com. Visit the SDK Platform Tools download page to find the latest version of ADB and fastboot.
Go to the folder where you saved the download and extract the contents of the ZIP file. Your operating system has built-in tools that can do this for you, but another option is to open it with a file extraction utility.