# Installation

# Installing Jetstream

You may use Composer to install Jetstream into your new Laravel project:

composer create-project laravel/laravel <your-project-name>
composer require laravel/jetstream

After 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. You are highly encouraged to read through the entire documentation of Livewire or Inertia before beginning your Jetstream project.

# Install Jetstream With Livewire

php artisan jetstream:install livewire

php artisan jetstream:install livewire --teams

# Or, Install Jetstream With Inertia

php artisan jetstream:install inertia

php artisan jetstream:install inertia --teams

# Finalizing The Installation

After installing Jetstream, you should install and build your NPM dependencies and migrate your database:

npm install
npm run dev
php artisan migrate

After 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 two Jetstream components.

# Livewire

If you are using the Livewire stack, you should first publish the Livewire stack's Blade components:

php artisan vendor:publish --tag=jetstream-views

Next, you should customize the SVGs located in the resources/views/vendor/jetstream/components/application-logo.blade.php, resources/views/vendor/jetstream/components/authentication-card-logo.blade.php, and resources/views/vendor/jetstream/components/application-mark.blade.php components.

# Inertia

If you are using the Inertia stack, you should customize the SVGs located in resources/js/Jetstream/AuthenticationCardLogo.vue, resources/js/Jetstream/ApplicationLogo.vue, and resources/js/Jetstream/ApplicationMark.vue.

After customizing these components, you should rebuild your assets:

npm run dev