Title, Mac installed composer, but for some reason, I want to uninstall composer, online is how to install composer tutorial. Ask you, how to uninstall the installed composer on the MacBook?
Reply content:
Title, Mac installed composer, but for some reason, I want to uninstall composer, online is how to install composer tutorial. Ask you, how to uninstall the installed composer on the MacBook?
rm -rf /usr/bin/composer
rm -rf /usr/local/bin/composer.phar
I don't have composer on my Mac, but you can try to find out if there are any composer in the app. Some words are deleted.
Because essentially composer is a Composer.phar file, even if the installation file is not installed composer, as long as the copy Composer.phar this file is placed in the root directory of the corresponding project can also be run, The composer installation file actually adds a shell to the file.
You just have to find the location of the file you downloaded composer.phar
and delete it. If you are a global installation, the path isusr/local/bin/composer.phar
First of all... We have to know before we 你是怎么安装的
can tell you how to uninstall AH Soul light!!!
But in theory, the execution whereis composer
looks where it is composer
, and then sudo rm /path/composer
Find/-name composer then RM-RF