A quick reminder in a short blog post
Installing composer globally seems to be a common task for me when working with different VM's, servers etc, perhaps I should use vagrant a little more. Anyway, I always forget this command so here it is how to install composer globally under Debian, or probably any unix based OS. Assuming you have sudo or privileged access rights installing composer globally is just one command:
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer