composer require --dev walterwoshid/laravel-sail-for-windows
-
Run the
.\vendor\bin\sail.ps1
script in your PowerShell terminal. -
You can run
.\vendor\bin\sail.ps1 artisan vendor:publish --tag=sail-bin
to copy the script to your project root and use.\sail.ps1
instead. -
You can also add a
sail
alias to your PowerShell profile to run the script.- Run in PowerShell:
notepad $profile
- Add the following line to your PowerShell profile:
New-Alias sail .\vendor\bin\sail.ps1
- Save and close the file.
- Run
sail
instead of.\vendor\bin\sail.ps1
in your terminal.
Give a ⭐ if this project helped you!
Copyright © 2023 Valentin Wotschel.
This project is MIT licensed.