Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to completely uninstall symfony and composer from a mac

I want to completely remove symfony and composer from my mac. I have been googling for five hours and no documentation can be found on how to uninstall composer and symfony completely from my mac. Why is that so hard to find? even on the Symfony website.

like image 239
Ed Banes Avatar asked Feb 06 '15 00:02

Ed Banes


2 Answers

Symfony on your computer is just a folder containing the framework and the structure of the files, so you can delete that folder and you are done. Composer is just an binary file (phar) that can run on the command line. Locate where that file is and delete it.

like image 98
igavriil Avatar answered Sep 25 '22 23:09

igavriil


Symfony could be anywhere on your mac.

The 'installer' for mac that comes from here https://symfony.com/download (dd 2019/10) dumps symfony in your home directory in ~/.symfony . I dislike that, too.

ls -al ~/.symfony

if it's there,

rm -rf ~/.symfony

That 'installer' suggests you may want to move it here

ls -al /usr/local/bin/symfony

if it's there

rm -rf /usr/local/bin/symfony
like image 23
commonpike Avatar answered Sep 24 '22 23:09

commonpike