title: How to resolve 'npm should be run outside of the node repl, in your normal shell'
body: <p>I am new to node.js. I downloaded and install node.js installer from the <a href="http://nodejs.org/download/" rel="noreferrer">official site</a>. I have added this installer folder in PATH environment variable and I am able to run programs. But when I try to install some package using npm in node console it shows the error <code>npm should be run outside of the node repl, in your normal shell</code>. I also tried it on a separate console. But it shows command not found though I have added node in the environment variable. </p>
  
  <p><img src="https://i.stack.imgur.com/gTQh7.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/4zySu.png" alt="enter image description here"></p>