No command slice2js found error when trying to compile Helloworld application

in Help Center
Despite having installed ice and slice2js through npm, I am getting the following error -
Tagged:
0
Despite having installed ice and slice2js through npm, I am getting the following error -
Comments
OK I reinstalled ice and slice2js after fixing npm permissions and it works fine.
You need a global install if you want to use the command from the shell
ok sir there is another problem. after installing I compiled the Printer.ice slice definition and then I tried to run the Client.js by writing node Client.js. This gives the error -
