- Buka Terminal
- Run command
curl -sS https://getcomposer.org/installer | php
- Pindah ke bin
sudo mv composer.phar /usr/local/bin/composer - Buka bash_profile
vim ~/.bash_profile - Tambah ayat berikut dalam fail bash_profile. Save dan exit
vim ~/.bash_profile - Jadikan commnd composer boleh dilarikan
sudo chmod +x composer - Tutup dan buka semula terminal
- cd ke direktori drupal dan kemaskini drupal menggunakan command
composer update
Leave a Reply