How to remove globally a package from Composer?

前端 未结 2 1165
挽巷
挽巷 2021-01-30 04:35

I ran this command to install globally PHPUnit:

composer global require \'phpunit/phpunit=3.7.*\'

Now I want to uninstall globally

2条回答
  •  没有蜡笔的小新
    2021-01-30 05:14

    Also you can use another way

    cd $HOME/.config/composer
    

    And in composer.json file remove some require positions

    After all execute composer update This is a long way, but more clear

提交回复
热议问题