pip install ha-mqtt-discoverable-cli will install the cli tools. If you prefer to keep your system python clear of extra modules, you can use the unixorn/ha-mqtt-discoverable-cli docker image instead.