It seems the CLI install dies when getting to a check in clilib.php when it does a check to see if MOODLE_INTERNAL is defined.
At that point in the CLI installation MOODLE_INTERNAL is not defined, so it just dies sliently.
I have tried to define MOODLE_INTERNAL early, it just complains when it comes to define it later on during the installation. I also tried to move some of the includes around, or include setup.php early so that the define is done, but that throws issues because the config.php isn't created.
Can someone please have a look at this