Install Composer di Ubuntu 20.04

Install Composer di Ubuntu 20.04


Install Composer di Ubuntu 20.04
















Buka terminal ketikan 

sudo apt update 
sudo apt install wget php-cli php-zip unzip

wget -O composer-setup.php https://getcomposer.org/installer





sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer







Bila sukses akan tampil seperti dibawah ini


All settings correct for using Composer
Downloading...

Composer (version 1.10.7) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer








Test apakah composer berhasil diinstall


composer

 ______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 1.10.7 2020-06-03 10:03:56








Previous Post
Next Post

post written by: