sudo apt-get update
sudo apt-get install composer

Ref: https://howtoinstall.co/en/composer