Programing Language/리눅스

Linux) composer 어느 위치에서든 composer만 쳐도 실행되게 하기

Jude_Song 2020. 6. 9. 01:49
728x90
반응형

원래 composer를 설치하면 php composer.phar를 해야 실행되지만

composer.phar 이 있는 위치에서

mv composer.phar /usr/local/bin/composer 명령어를 넣어주면 어느 폴더위치에서나 composer를 실행할수 있다.

https://getcomposer.org/doc/00-intro.md

 

Introduction - Composer

Introduction# Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Dependency management# Composer is not a package manager in the same sense a

getcomposer.org

참고

728x90
반응형