Where to find composer's global packages?

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

    Run the command

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

    You can find the find the [home] with composer path, similar to this one.

    [home] /home/example_username/.config/composer
    

提交回复
热议问题