I want to get the version of node.js on the command line - I'm expecting to run a command like:
node -version
but that doesn't work. Does anybody know what the command line would be? (ie not the REPL)
转载于:https://stackoverflow.com/questions/14888471/node-js-version-on-the-command-line-not-the-repl