Get the lastest version on https://github.com/glpi-project/glpi-agent/releases

Make it executable:

chmod +x ./glpi-agent-*
./glpi-agent-*

Can be run on almost any linux distrib.

My default install parameters:

./glpi-agent-1.6.1-x86_64.AppImage --install --local=/tmp/

Then, at any time:

glpi-agent > /tmp/glpi-agent.dump.xml