I have installed composer on a Ubuntu vagrant box, running php 7.0 (which was just installed prior to this). Trying simply composer, or the full path php /usr/local/bin/composer both result in the following error:
The HOME or COMPOSER_HOME environment variable must be set for
composer to run correctly
I am unfamiliar with which env variable to set (or both), what value it should be set to, or where it should be set/declared! I've searched quite a few forums including github, but I'm not seeing this information. Appreciate your help.
UPDATE: Also tried this, same message:
curl -sS https://getcomposer.org/installer | php
