That's what I had done, it is installed globally, as per the instructions at
getcomposer.org. And when I run the command (sudo ~/composer .phar install) as indicated in the AtoM install instructions (from the /usr/share/nginx/atom folder) it gives a message that it should not be run with 'sudo', your instructions say that I should be, so I continue and it then complains that there is no .json file. Is that because we didn't clone from github, which you say there is a .json file?
Their site says you can install it in 2 different ways, locally or globally. The commands you give above are combining the install instructions from both ways. Can you confirm this is correct?
And the next line says "after downloading the code" - So what is this 'code' that is being referred to? Do I ignore that?
---
I am wondering now if I am mixing the 2 different sections in the "Download AtoM" section of the documentation. There is Option 1 and Option 2. But there doesn't look to be a distinct 'ending' of option 2. I did Option 1, should I go all the way down to the "Filesystem Permissions" section? Because under Option 2, the Install git section looks like it's just downloading AtoM from github, and that's it, and from Option 1 you should continue to the Composer section. Can you confirm that?
Thanks!