You can run any ADB command on your phone without ever connecting it to a PC.
Hidden away in your Android phone's developer settings is a powerful feature called USB debugging. It's a special mode that opens a direct line of communication between your smartphone and a computer, ...