본문 바로가기
Etc

[Composer] composer install

by guru_k 2022. 5. 17.
728x90
반응형

Install composer

 

Composer

Download Composer Latest: v2.3.5 To quickly install Composer in the current directory, run the following script in your terminal. To automate the installation, use the guide on installing Composer programmatically. php -r "copy('https://getcomposer.org/ins

getcomposer.org

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

 

composer install

$ ./composer.phar install

 

composer global install

$ sudo mv composer.phar /usr/local/bin/composer
$ composer install
728x90
반응형

댓글0