Running composer in a different directory than current

后端 未结 4 934
萌比男神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:32

    In addition to the above answer from Tomáš Votruba i had to append the = charachter on OSX. So the full command would be:

    composer install -d=/home/someuser/myproject
    

    My first post on SO so was unable to simply add this as a comment.

提交回复
热议问题