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 Installing Composer

Richie Black
Richie Black
27,272 Points

Error in Teacher's Notes

The teachers notes for the Linux commands rename the file to "composer", but then try to move the file "composer.phar" which doesn't exist due to renaming it. For that matter, it will also be in the bin directory.

1 Answer

JONATHAN MOO
JONATHAN MOO
9,224 Points

It's old, so I don't think they call it composer.phar anymore. It's just "composer", and you will have to move the bin/composer to the /usr/local/bin/composer instead.