“Perbarui komposer ubuntu” Kode Jawaban

Perbarui komposer ubuntu

##update composer in ubuntu
#update packages
sudo apt-get update
#if you don't have curl install it
sudo apt-get install curl
#download installer
sudo curl -s https://getcomposer.org/installer | php
#move composer.phar file
sudo mv composer.phar /usr/local/bin/composer
#check composer version
composer -v
Snippets

cara meningkatkan komposer ubuntu

you need to first remove the composer

->sudo apt-get remove composer 

and then type the below command to install composer globally  

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

for more info :
click on the link below
uzii

Ubuntu menginstal komposer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Depressed Dragonfly

Komposer Instal Ubuntu

sudo curl -s https://getcomposer.org/installer | phpmixed
Cheerful Crossbill

Ubuntu menginstal komposer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Prickly Polecat

Perbarui Mac Komposer

#Ubuntu-Download Composer and create a Phar (PHP Archive) file
$ curl -s https://getcomposer.org/installer | php

#Move it to bin directory
$ sudo mv composer.phar /usr/local/bin/composer
Snippets

Jawaban yang mirip dengan “Perbarui komposer ubuntu”

Pertanyaan yang mirip dengan “Perbarui komposer ubuntu”

Lebih banyak jawaban terkait untuk “Perbarui komposer ubuntu” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya