Last updated on: March 30, 2019 12:27pm
March 30, 2019 12:27pm - 1 min read

Install download the composer using the following curl command in the terminal:
curl -sS https://getcomposer.org/installer | php
After the command, you will have composer.phar file in the current directory.
In order to make composer available globally, you have to move the recently downloaded composer.phar to local user’s bin folder as follow:
/usr/local/bin folder . You can click Shift + Command + G to open the dialog to go to folder.composer.phar in the usr/local/bin foldercomposer="php /usr/local/bin/composer.phar"Now, you can access the composer from the terminal simply using the composer command. That’s it.