Today the Laravel team released a new major version of “laravel/installer” that includes support for quickly starting Jetstream projects. With this new version when you run “laravel new project-name” you’ll get Jetstream options. For example:
laravel new foo --jet --dev
Then it’ll ask you which Jetstream you prefer:
Which Jetstream stack do you prefer?
[0] Livewire
[1] inertia
> livewire
Will your application use teams? (yes/no) [no]:
...
If you already have the installer installed, to get the version all you should need to run is composer global update
but that didn’t work for me. Instead, I had to uninstall then reinstall:
composer global remove laravel/installer
composer global require laravel/installer
Newsletter
Join 33,000+ others and never miss out on new tips, tutorials, and more.
No Spam, ever. We'll never share your email address and you can opt out at any time.
Filed in: