NUT and Node-Red

Help with NUT and Node Red please! I have a fully updated Home Assistant Operating System on a Pi4, running NUT and Node-Red with the added ‘nut- ups’ node. I can access the status object of my UPS using the node. I understand that there is now a way to send commands to the UPS using NUT upscmd but I cannot get it to work. I have tried to follow the documentation without success. I have tried running ‘upscmd -l’ with my UPS name from a terminal window and the system tells me ‘upscmd: command not found’ and I cannot find any information on how to send commands from Node-Red. Any help would be gratefully received.