Yes use composer
Laravel new project not working - Windows
Hi, environment: Windows 10, XAMPP 7.4.9, Composer, Laravel 7. when I try run command "laravel new blog" it show me error: 'rm' is not recognized as an internal or external command, operable program or batch file. Does it mean that command "laravel new" is not possible use on Windows (command RM is not available under Windows) and I have to use composer create-project ? Thank you for any advice.
It looks like this was an issue in Laravel Installer v4.0.0, but has now been fixed in Laravel Installer v4.0.1 . Run composer global require laravel/installer one more time and then the laravel new command should work. https://github.com/laravel/installer/issues/141#issuecomment-688453995
Please or to participate in this conversation.