php - How to remove globally a package from Composer? -
i ran command install globally phpunit:
composer global require 'phpunit/phpunit=3.7.*'
now want uninstall globally phpunit.
any ideas?
to remove globally installed package run:
composer global remove phpunit/phpunit
global
command lets run many commands install
, require
or update
if running them composer_home
directory.
read related documentation here: http://getcomposer.org/doc/03-cli.md#global
composer_home
depends on system (on linux it's ~/.composer
), see http://getcomposer.org/doc/03-cli.md#composer-home more details.
Comments
Post a Comment