npm not found. Needed to enable application install

How to resolve? npm not found error thrown.

root@DietPi:~# npm install zetta
bash: root@DietPi:~#: command not found

How can I do an cli app install using npm. npm exits:
root@DietPi:~# find / -name npm

Will appreciate any informed suggestions or tips to solve this issue.


You’ll first need to install nodeJS (npm):

 dietpi-software install 9

npm command will then function.