Error when running Script for JS


I am a newbie to coding, recently started learning HTML CSS and Javascript.

I installed Script in Atom to run Javascript code, but am getting an error when I run the code:

bash: node: command not found
env: node: No such file or directory

Any suggestions on how to fix this?



Looks like you need to install NodeJS on your machine:


That did the trick! Thanks you