Enable debugging on the device

system settings > developer tools > build number system settings > advanced > developer optons > usb debugging

Enable wireless debugging and pair the device with pairing code

Pair with the PC

adb pair 192.168.1.130:37065

Connect to device

adb connect 192.168.1.130:37065

View devices

adb devices

Access shell on device

adb shell