I ran this command to install globally PHPUnit:
我运行这个命令安装全局PHPUnit:
composer global require 'phpunit/phpunit=3.7.*'
Now I want to uninstall globally PHPUnit.
现在我要卸载全局PHPUnit。
Any ideas?
什么好主意吗?
1 个解决方案
#1
147
To remove a globally installed package run:
要删除全局安装的包运行:
composer global remove phpunit/phpunit
global
command lets you to run many commands like install
, require
or update
as if you were running them from the COMPOSER_HOME
directory.
全局命令允许您运行许多命令,比如install、require或update,就像您在沉着的home目录中运行它们一样。
Read the related documentation here: http://getcomposer.org/doc/03-cli.md#global
请阅读相关文档:http://getcomposer.org/doc/03-cli.md global
COMPOSER_HOME
depends on your system (on Linux it's ~/.composer
), see http://getcomposer.org/doc/03-cli.md#composer-home for more details.
COMPOSER_HOME取决于您的系统(在Linux上它是~/.composer),更多细节请参见http://getcomposer.org/doc/03-cli.md -home。
#1
147
To remove a globally installed package run:
要删除全局安装的包运行:
composer global remove phpunit/phpunit
global
command lets you to run many commands like install
, require
or update
as if you were running them from the COMPOSER_HOME
directory.
全局命令允许您运行许多命令,比如install、require或update,就像您在沉着的home目录中运行它们一样。
Read the related documentation here: http://getcomposer.org/doc/03-cli.md#global
请阅读相关文档:http://getcomposer.org/doc/03-cli.md global
COMPOSER_HOME
depends on your system (on Linux it's ~/.composer
), see http://getcomposer.org/doc/03-cli.md#composer-home for more details.
COMPOSER_HOME取决于您的系统(在Linux上它是~/.composer),更多细节请参见http://getcomposer.org/doc/03-cli.md -home。