Skip to content

Files

Latest commit

 

History

History
22 lines (20 loc) · 430 Bytes

Install_Composer.md

File metadata and controls

22 lines (20 loc) · 430 Bytes

How to Install Composer on Remote Server or VPS

Method 1:

  • Install Dependencies
apt update
apt upgrade
apt install php-cli unzip
  • Download and Install Composer
curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer

Method 2:

  • Install Composer
apt update
apt upgrade
apt install composer