1)Open the Environment Variables
option in your Control Panel.
(Go to Control Panel ->
System and Security ->
System -> Advanced System Settings->
Environment Variables ->
User Variables or System Variables.)
2)Select the variable named Path.
A dialogue box named Edit user
variable will appear. In the variable
value option inside that dialogue box,
paste the complete path of the location
where node.js is installed in your
system.Then click on OK.
3)Restart the command prompt again
and now verify by typing node-v
in the command prompt. It will
now display the version of the
node which you’ve installed from
the internet .