I just installed node.js. I tried writing node -v that should check the version - and it's not working. this is the output:
> node -v ReferenceError: node is not defined
at repl:1:2 at REPLServer.self.eval (repl.js:110:21)
at Interface.<anonymous> (repl.js:239:12)
at Interface.emit (events.js:95:17)
at Interface._onLine (readline.js:202:10)
at Interface._line (readline.js:531:8)
at Interface._ttyWrite (readline.js:760:14)
at ReadStream.onkeypress (readline.js:99:10)
at ReadStream.emit (events.js:98:17)
at emitKey (readline.js:1095:12) >
I opened it using git - command: node
I tried running it using "Git", thought maybe that's the issue and I get the exact same output.
I am using windows 8 if it's relevant - followed this tutorial till now:
https://www.youtube.com/watch?v=tlntE8fe6u4
How do I make it work?