You may install Composer locally, as part of your project, or globally as a system wide executable.
Locally
To install, run these commands in your terminal.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
# to check the validity of the downloaded installer, ch...