If you’re thinking without writing, you only think you’re thinking.
(Leslie B. Lamport)

Get application version name

adb shell
shell@device-name:/ dumpsys package your-package-name | grep version