When trying to create a new laravel project, The following error appears on the CLI:
Could not open input file: artisan Script php artisan clear-c
Could not open input file: artisan
Script php artisan clear-c
Just make sure you are in the project folder by typing
ls
If not then go to the project folder by typing
cd folder_name
for example:
cd laravel
And then type
php artisan serve