You may use Composer to install Jetstream into your new Laravel project:
composer create-project laravel/laravel example-app
cd example-app
composer require laravel/jetstreamAfter installing the Jetstream package, you may execute the jetstream:install Artisan command. This command accepts the name of the stack you prefer (livewire or inertia). In addition, you may use the --teams switch to enable team support.
The jetstream:install command will also install a suite of "feature" tests that provide test coverage for the features provided by Jetstream.
You are highly encouraged to read through the entire documentation of Livewire or Inertia before beginning your Jetstream project.
New Applications Only
Jetstream should only be installed into new Laravel applications. Attempting to install Jetstream into an existing Laravel application will result in unexpected behavior and issues.
php artisan jetstream:install livewireIf you would like "teams" support, you can provide the --teams directive to the install command:
php artisan jetstream:install livewire --teamsphp artisan jetstream:install inertiaIf you would like "teams" support with the Inertia stack, provide the --teams directive to the install command:
php artisan jetstream:install inertia --teamsThe Inertia stack may also be installed with SSR support:
php artisan jetstream:install inertia --ssrYou can read more about running the SSR server in the Laravel Vite plugin and Inertia documentation.
If you would like to include "dark mode" support when scaffolding your application's frontend, provide the --dark directive when executing the jetstream:install command:
php artisan jetstream:install livewire --darkAfter installing Jetstream, you should install and build your NPM dependencies and migrate your database:
npm install
npm run build
php artisan migrateAfter installing Jetstream, you may have noticed that the Jetstream logo is utilized on Jetstream's authentication pages as well as your application's top navigation bar. You may easily customize the logo by modifying a few Jetstream components.
If you are using the Livewire stack, you should customize the SVGs located in the following Blade components:
resources/views/components/application-logo.blade.phpresources/views/components/application-mark.blade.phpresources/views/components/authentication-card-logo.blade.phpIf you are using the Inertia stack, you should customize the SVGs located in the following Vue components:
resources/js/Components/ApplicationLogo.vueresources/js/Components/ApplicationMark.vueresources/js/Components/AuthenticationCardLogo.vueAfter customizing these components, you should rebuild your assets:
npm run buildTo upgrade to Jetstream 5.x from a previous release, please consult our upgrade guide.