Run JavaScript on Mac

Hello, I am a total beginner, but I want to try my coding skills on my Computer in VSCode and Atom, but in both Applications I was not able to run my javaScript code.

VSCode returns when I want to run the code

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh .
For more details, please visit https://support.apple.com/kb/HT208050.
Sebis-MacBook-Air:JavaTest sebastiankaeser$

and in Atom i had installed the Script Package and want to run the code. Than this returns:

bash: node: command not found

env: node: No such file or directory

[Finished in 0.023s]

Please help me to solve this problem.

1 Like