Where to find composer's global packages?

后端 未结 9 1487
星月不相逢
星月不相逢 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:39

    It gets your composer home directory and i use composer version 2.0.8 on Win 10

    composer config --list --global | grep 'home'
    

    [home] C:/Users/youruser/AppData/Roaming/Composer

提交回复
热议问题