You can run any ADB command on your phone without ever connecting it to a PC.
To uninstall bloatware on your Mobile, use the ADB (Android Debug Bridge) tool. It is available for both Windows and Mac. Using this tool, you can uninstall pre-installed apps, system apps, and ...