title: node.js commands on AWS elastic beanstalk ec2 server
body: <p>I created an elastic beanstalk <code>node.js</code> app on AWS, which created the EC2 and RDS server for me. I am using <code>putty</code> to connect to my Linux EC2 instance, which is successfully logged in.</p>
  
  <p>But the following command doesn't work:</p>
  
  <pre><code>node -v
  npm install express -g
  node
  </code></pre>
  
  <p>it gives me an error:</p>
  
  <blockquote>
    <p>bash: node: command not found</p>
  </blockquote>