Install composer on Debian

Run:

sudo apt-get install curl php5-cli
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

Test it:

$composer -V
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Composer version 1.3.0 2016-12-24 00:47:03

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.