title: How to install Yeoman on an Openshift Tomcat server
body: <p>I have a Java spring as server stack and with angularJS for the UI stack. </p>
  
  <p>Part of the build process I need Jenkins to run <code>Grunt build</code> to optimize the UI before the build process starts. </p>
  
  <p>I have tried to install Yeoman on the Jenkins instance but since I am not the administrator I am getting Access errors. </p>
  
  <pre><code>[\&gt; npm install -g yo
  npm ERR! Error: EACCES, mkdir '/var/lib/openshift/&lt;ID&gt;/.npm'
  npm ERR!  { [Error: EACCES, mkdir '/var/lib/openshift/&lt;ID&gt;/.npm']
  npm ERR!   errno: 3,
  npm ERR!   code: 'EACCES',
  npm ERR!   path: '/var/lib/openshift/&lt;ID&gt;/.npm' }
  npm ERR!
  npm ERR! Please try running this command again as root/Administrator.
  </code></pre>