Failed on appium installation from command 'npm install -g appium'

npm install -g appium
getting error - node is not recognized as internal or external command, operable program or batch file

Please do provide solution for above as I cannot proceed with mobile testing without the above command or is there another way to proceed?

I have no idea of this error