![Forrest logo](/images/logo.png)
fastboot:tldr:948d5
The command "fastboot devices" is used in the Android development environment called Fastboot. This command is used to communicate with an Android device that is connected to a computer via USB in fastboot mode.
When you execute the "fastboot devices" command, it scans the USB connections on the computer and retrieves a list of connected Android devices that are in fastboot mode. It displays the unique identifier (such as a serial number) of each connected device in the terminal or command prompt window.
This command is often used to check if an Android device is successfully recognized by the computer in fastboot mode before executing other fastboot commands. It helps developers and power users verify the connectivity between the computer and the Android device when performing tasks like unlocking the bootloader, flashing custom firmware, or installing system updates.