Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

uninstalling composer on macs

Been looking online for a way to uninstall composer but can't find a command that works. anyways idea please?

1 Answer

Tim Storey
Tim Storey
12,095 Points

If you're comfortable using the command line you could use the 'which' command to find the path to the program files.

  • 'which composer' That should return something like /usr/local/bin/composer Then you can navigate to the 'bin' or wherever you're version of composer is installed and run
  • 'rm -r composer' That should delete the directory that the composer program is stored in and effectively remove the program.