During the installation you got a message
Composer successfully installed to: ...
this indicates where Composer was installed. But you might also search for the file composer.phar
on your system.
Then simply:
- Delete the file
composer.phar
. - Delete the Cache Folder:
- Linux:
/home/<user>/.composer
- Windows:
C:\Users\<username>\AppData\Roaming\Composer
- Linux:
That’s it.