title: How do I run `npm update -g npm` on Elastic Beanstalk?
body: <p>How can I run <code>npm update -g npm</code> on my Elastic Beanstalk instances as they spin up?  It's fairly easy to shell into each instance to run the update command manually, but this won't work through a scaling event, as more instances are added automatically.</p>
  
  <p>How can i get the latest version of NPM on Elastic Beanstalk instances, in a way that works through an auto-scaling event?</p>