Cara install Composer di Linux

Panduan cara istall Composer di Linux VPS CentOS, Ubuntu, Debian. Akses terminal dengan akun root kemudian ikuti langkah-langkah berikut ini:

1. Download Composer installer

wget https://getcomposer.org/installer

2. Install composer

php installer

4. Pindahkan composer.phar ke direktori program, Tujuannya agar mudah dan ringkas menjalankan command composer dari pada composer.phar

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

5. Cek versi composer

composer --version

6. Hapus installer file

rm -f installer

Selesai, Semoga bermanfaat.

Share for thank
5 of 5 from 1 ratings

Donate rate

Leave a Reply

Your email address will not be published. Required fields are marked *