In this case you need to create Laravel project then go to your project path and run the command php artisan serve
if you already created a larval project and received same error then make sure your at the project path folder using cd /laravel/project