kostha Try this command:
composer create-project flarum/flarum my-flarum
my-flarum is the folder that contains Flarum project
You also can create new folder and run this command in the folder just created (make sure the folder is empty)
composer create-project flarum/flarum .