Running composer in a different directory than current

后端 未结 4 930
萌比男神i
萌比男神i 2021-01-31 07:04

I don\'t know if this question has been asked, because searching finds results mostly about moving the libraries installation directory.

I have a globally installed comp

4条回答
  •  臣服心动
    2021-01-31 07:44

    This works for me, PHP 7.3 on ubuntu 18.04

    Install

    composer install --working-dir=/your_composer_dir

    Update

    composer update --working-dir=/your_composer_dir

提交回复
热议问题