Pertama-tama buka web nya langsung
https://getcomposer.org/download/
Kemudian ketikan perintah berikut :
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
lalu ketik lagi :
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
lanjut lagi :
php composer-setup.php
kemudian :
php -r "unlink('composer-setup.php');"
Kemudian ketikan perintah composer
Jika terjadi tampilan seperti gambar maka installasi telah berhasil.
EmoticonEmoticon