Reputation: 43
I installed node.js version 4.4.1 on windows 10 and I tried to code with tutorial from internet. The first thing recommended was to write "$ node -v", but after that i'm getting following error:
Upvotes: 1
Views: 2741
Reputation: 119867
You're already in the Node REPL, not in Windows' cmd (see the Node icon in the title bar?). You can directly write JS in that.
To get the version, run node -v
on Windows' cmd.
Upvotes: 1