How to run npx / nodejs commands on home assistant operating system

I am trying to run the zwave controller conversion tool as outlined in https://github.com/zwave-js/node-zwave-js/tree/master/packages/nvmedit, but i can not figure out how to run the npx command. I have home assistant OS on Raspberry PI, but it is not available via SSH CLI.

I’m sorry that I don’t know the exact answer, but I’ll offer some suggestions:

  • If you are using the Zwave JS UI (was called ZwaveJS2MQTT) AddOn, this allows you to click a couple of buttons to do a backup and restore of your ZStick, and as I understand it, uses zwavejs’ nvm methods.

  • If you want to execute the npx command, you will probably have to get inside the zwavejs or zwavejs-ui AddOn container to execute it, (although I don’t know that if the AddOn actually included the nvmedit package).