title: composer install - define directory
body: <p>I'm running a shell script to execute <code>composer install</code> command.</p>
  
  <p>my <code>composer.json</code> file is in <code>/var/www/html</code></p>
  
  <p>Is there a way I can tell composer not to run under the current directory and to run the composer.json in /var/www/html ?</p>
  
  <p>This is what i've done - but it feels wrong:</p>
  
  <pre><code>cd /var/www/html &amp;&amp; composer install
  </code></pre>