Yes! You're actually mixing up two different things. The node command-line consists of a script to run, and arguments to pass to it, parsed by the shell -- the shell is what's giving you the error, because you're giving it javascript, not simple space-separated arguments like command-lines take. (you can do more, but quoting rules abound!)
So what you want to do is put your one-line script in a file -- call it 'hello.js' perhaps, then:
node hello.js
It should print out "hello world"
Aria