just download composer.phar and execute
composer.phar create-project laravel/laravel your-project-name --prefer-dist
But my old installation of composer in usr/local/bin? i just delete it with sudo rm composer?
No.. this means you have composer installed globally (i.e. simply typing in composer in any terminal window should display the composer menu options. refer to these links if you have composer installation issues: https://getcomposer.org/doc/00-intro.md#globally and http://askubuntu.com/a/165241)
So, open up a terminal window.. Navigate to /var/www (default webroot for apache in ubuntu) and then type in:
composer create-project laravel/laravel your-project-name --prefer-dist
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us