install composer php linuxmint | java php laravel linux mysql sql bootstrap html css query java php laravel linux mysql sql bootstrap html css query: install composer php linuxmint

java linux php mysql bootstrap sql sping boot linuxmint laravel



Jumat, 25 Oktober 2019

install composer php linuxmint

install composer php linuxmint

Buka terminal,
Jalankan perintah ini di terminal :

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Jalankan perintah :

sudo mv composer.phar /usr/local/bin/composer

supaya composer bisa diakses di semua direktory/path

Selesai

Tidak ada komentar:

Posting Komentar

saifiahmada.com adalah blog belajar programming Indonesia, membahas lengkap materi bahasa pemrograman: code HTML, CSS, Bootstrap, Desain, PHP, MySQL, coding Java, Query, SQL, dan dunia linux