title: bash: composer: command not found
body: <p>On a server I want to do composer update/install and both give the error:</p>
  
  <pre><code>-bash: composer: command not found
  </code></pre>
  
  <p>I can see composer.phar, composer.json and composer.lock are there. How can I find out why I can't update?</p>
  
  <p>Unfortunately the site is down at the moment because I get an error because one package isn't there at the moment.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>If I enter the following command:</p>
  
  <pre><code>php composer.phar install/update
  </code></pre>
  
  <p>everything seems to be working. Is there something I can do to change this or is it always necessary to enter the command this way?</p>