Nitro Quickstart
Get started with Runners in your Nitro application
This guide will help you set up Runners in your Nitro application in under 5 minutes.
Installation
If you're using Playwright runners, install Playwright browsers:
Setup
Add the Runners module to your nitro.config.ts:
That's it! Runners are automatically discovered from src/**/*.ts and runners/**/*.ts.
Create Your First Runner
Create a runner file:
Run Your Application
Start your Nitro dev server:
Test the API
Get Runner Info
Execute Runners
View API Documentation
Open http://localhost:3000/api/runner/docs in your browser for interactive API documentation.
Configuration
Customize runner discovery patterns and region:
API Endpoints
The module automatically creates:
POST /api/runner/execute- Execute runnersGET /api/runner/info- Get runner informationGET /api/runner/docs- Interactive API documentation (Scalar UI)GET /api/runner/spec.json- OpenAPI specification
Next Steps
- Learn about Writing Runners
- Check out Deployment for production setup
- Explore API Reference for detailed API docs