SyntaxFix
Write A Post
Hire A Developer
Questions
If you have to run composer with sudo, you should change the directory of composer to
/usr/bin
this was tested on Centos8.