in the image 1, new installation error:
[InvalidArgumentExeption] Project Directory ./ its not empty
The Folder Must be Empty to install Flarum Software, try that:
composer create-project flarum/flarum foldername --stability=beta creates the directory foldername the Flarum Software Download the Files inside to foldername