 <p>According to <strong><a href="https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx" rel="nofollow">Composer docs</a></strong>:</p> <blockquote> <p>Note: On some versions of OSX the /usr directory does not exist by default. If you receive the error "/usr/local/bin/composer: No such file or directory" <strong>then you must create the directory manually</strong> before proceeding: mkdir -p /usr/local/bin.</p> </blockquote> <p>Hope this helps.</p>