Skip to main content

Install_Composer

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