Thank you for the advise. Although it was not the solution it did point me in the correct direction.
I updated composer and had a more useful error message, stating that I had not enabled the fileinfo php extension. I enabled it, and it still did not work as it needed to be enabled in the php-cli.ini file so that it would work in the command line.
Having fixed that error, I am now getting error from mySQL, stating that it could not create a table.