-
Notifications
You must be signed in to change notification settings - Fork 0
Composer
Filip Krzyżanowski edited this page Nov 12, 2022
·
1 revision
sudo apt update && sudo apt upgrade -y
Replace php8.1
with yours PHP version
sudo apt install wget php8.1-cli php8.1-zip unzip -y
wget -O composer-setup.php https://getcomposer.org/installer
You can change installation directory by changing /usr/local/bin
in --install-dir=
parameter
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
sudo composer self-update
sudo composer --version