Where to find composer's global packages?

后端 未结 9 1475
星月不相逢
星月不相逢 2021-01-30 20:12

For a plugin for Sublime Text I was required to install a composer package globally.

In order to do this I had to run the following command:

composer glo         


        
9条回答
  •  孤独总比滥情好
    2021-01-30 20:40

    For composer v2:

    composer global config --list
    

    Check the output and find [vendor-dir] parameter. Or use grep:

    composer global config --list | grep "vendor-dir"
    

提交回复
热议问题