How to install/ uninstall apk by command line ADB

We can install/uninstall apk from device by terminal/command prompt

Step 1:  Open Terminal/Command Prompt 

Step 2:  Set your adb path

in my computer it is like this


Step 3:  Now check check the device connected or not by

  adb devices

it will show the list of devices attached

Now Install apk by 

adb -s "put your device id" install "put your apk path"

Uninstall apk by 

adb -s "put your device id" uninstall "put your package name"