Before you can start managing your projects dependencies with composer you first need to install it.
To install composer you can follow the instructions on the download page: https://getcomposer.org/download/
To install composer globally on a Linux system (recommended) we need to do one step from the instructions a little bit different.
The instructions tell us to execute the following:
$ php composer-setup.php
It is recommended to execute the following instead:
$ php composer-setup.php --install-dir=/usr/local/bin --filename=composer