Navigate to the project directory and run composer install
Duplicate the .env.example: cp .env.example .env
For running sail commands, by default, you are required to enter the full path to the executable in vendor/bin/sail. Most devs prefer to create an alias in their shell so they only have to type sail. Read the sail docs about configuring a sail alias. Further documentation will assume an alias exists in your shell.
Updating the Project
If you get an error with the composer.lock file, you may need to update your project
To update, navigate to the project directory and run composer update
Starting the Project
Start the project: sail up -d
Run DB migration scripts only on initial setup and after creating new migrations sail artisan migrate