Follow this tutorial to get ADB up and running on your Windows, Mac, or Linux PC. ADB, or Android Debug Bridge, is a developer tool that lets you issue some powerful commands to control your device. We use it a lot in our tutorials to do things that you otherwise can’t do without a rooted device.

1: Download an app like App Inspector from the Google Play Store.
2: Get the package name of the app you want to disable using App Inspector.

3: Launch a Command Prompt/PowerShell (Windows) or Terminal (Mac/Linux) in the directory where you stored the ADB binary. For Windows users, this can be done by holding shift then right-clicking in the folder. In the menu, select the “open command window here” or “open PowerShell window here” option.

4: Opening command window on Windows 10

5: Once you’re in the command prompt or terminal, enter the following command depending on your OS:
Windows Command Prompt: adb shell pm disable-user --user 0<package_to_disable>
Windows PowerShell: .\adb shell pm disable-user --user 0<package_to_disable>
Mac/Linux Terminal: ./adb shell pm disable-user --user 0<package_to_disable>
For example, here’s what it looks like if you wanted to remove Cleanmaster (com.miui.cleanmaster) which comes preinstalled as part of MIUI on the Xiaomi Mi Mix 2S:
Windows Command Prompt: adb shell pm disable-user --user 0com.miui.cleanmaster
Windows PowerShell: .\adb shell pm disable-user --user 0com.miui.cleanmaster
Mac/Linux Terminal: ./adb shell pm disable-user --user 0com.miui.cleanmaster

And we’re done! The app should immediately become disabled and will disappear from your launcher. Do note that on rare occasions, some apps may automatically be re-enabled if the system has a function to re-enable it. For example, disabling the stock EMUI 9 launcher on Chinese Huawei or Honor devices will result in the stock launcher become automatically re-enabled after some time. If that bothers you, try the “uninstall” method

Related: What is DNS? How does it work?