This program is used on my raspberry pi installation, and used to see what version each installed application has
git clone https://github.com/jorgenjo/status.git
Command:
./status
Result: in json
{"software":{"Name":"RaspberryPi2","Ip":"192.168.1.221 172.17.0.1 ","Mac":"b8:27:eb:8c:d8:be","Php":"PHP 7.3.9-1~deb10u1 (cli) (built: Sep 18 2019 10:33:23) ( NTS )","Mysql":"not found","OperatingSystem":"Raspbian GNU/Linux 10 (buster)","Git":"version 2.20.1","Python":"3.7.3","Docker":"Docker version 19.03.3, build a872fc2","Hardware":"Raspberry Pi 3 Model B Rev 1.2","Webserver":" Apache/2.4.38 (Raspbian)","Uptime":"54 minutes","Temperature":"48 Degree Celcius","DiskFree":"11G","DiskSize":"15G","Status":"Rev 1.9"}}