Delete the composer binary from /usr/local/bin/composer(or wherever you moved it to - use which composer to locate it). Also delete the .composer directory from your home directory
I'm about to reinstall composer. I'm going to install it globally. After installation, Do I have to mv it to the project folder I'm using?
Then from there, my assumption is that I have to launch if from within my project folder an use the commands from packagist.org to download packages and use them.
Ok. I'm getting it. I now have installed composer. I couldn't get the version to show until I did the sudo mv command to make it global. Now things are starting to make sense. Composer version 1.4.2 2017-05-17 08:17:52
Looks like I have composer installed correctly. And installed Globally. So I move on to the usage section of the documentation and I understand what they are talking about. But what I don't understand is where to get the composer.json file.
Iv'e set up a directory for Laravel in MAMP. The directory is called "LARAVEL". I understand that I need to get the composer.json file into it and configure it to connect the appropriate packages from packagist.org. But what is the appropriate way to get the composer.json file into my "LARAVEL" folder in MAMP/htdocs/ ?