title: Error running hello world on node.js
body: <p>I am on OSX and installed node from the website.</p>
  
  <p>When I tried running basic</p>
  
  <pre><code>console.log('Hello World')
  </code></pre>
  
  <p>it's giving me following error</p>
  
  <pre><code>-bash: syntax error near unexpected token `'Hello world''
  </code></pre>
  
  <p>Please let me know how do I proceed.</p>
  
  <p>I tried re-installing node from <a href="https://github.com/joyent/node/wiki/installation" rel="nofollow">Node Github installation</a> and if I try to check version of node or npm, I can see them.</p>