Installation
Ready to take Mighty for a spin?
The easiest way to install Mighty is by using the create-mighty
CLI command, which will guide you through the setup process.
If you are using Laravel, a Laravel starter kit is also available.
Install with create-mighty
Section titled “Install with create-mighty”Run the following command in a new or existing project to get started:
# create a new project with npmnpm create mighty@latest
# create a new project with pnpmpnpm create mighty@latest
# create a new project with bunbun create mighty@latest
For new projects (if no compatible project is found in the current directory), the create-mighty
CLI command will prompt you to create a new directory and set up a new project.
For existing Laravel and Hono projects, the create-mighty
CLI command will install the corresponding adapter and make it possible to run Mighty inside your development environment.
Laravel starter kit
Section titled “Laravel starter kit”A Laravel starter kit for Mighty is also available through the Laravel installer.
Make sure the Laravel installer is available, then run the command below:
laravel new my-app --using=gomighty/laravel-starter-kit
Manual setup
Section titled “Manual setup”To manually set up Mighty, refer to the instructions your backend adapter provides: