Generate devhub.toml configuration files and manage multi-project development environments...
DevHub is a multi-project development environment manager that lets you start, stop, and monitor all your local development services from one place.
Use DevHub when the user wants to:
devhub.toml configuration filedevhub discover --dry-run
This shows what DevHub would detect without writing any files. Review the output with the user before proceeding.
If the preview looks correct:
devhub discover
This creates devhub.toml in the project root.
devhub register
This adds the project to DevHub's registry so it can be managed globally.
devhub start
Or start a specific service:
devhub start -s api
| Command | Purpose |
|---|---|
devhub discover --dry-run |
Preview auto-detection |
devhub discover |
Generate devhub.toml |
devhub register |
Add project to registry |
devhub start [project] |
Start all services |
devhub stop [project] |
Stop all services |
devhub status |
Show all project statuses |
devhub logs <project> -f |
Follow service logs |
devhub list |
List all registered projects |
DevHub auto-detects these project types:
| Type | Detection File | Default Command |
|---|---|---|
| Rust | Cargo.toml |
cargo run |
| Node.js | package.json |
npm run dev |
| Python (UV) | pyproject.toml |
uv run python |
| Python (pip) | requirements.txt |
python |
| Go | go.mod |
go run . |
| Flutter | pubspec.yaml |
flutter run |
| Docker | docker-compose.yml |
docker compose up |
When no root project marker is found, DevHub scans subdirectories and creates a multi-service configuration automatically.
For detailed information, see:
devhub discover --dry-run before generating configdevhub fav add <project>devhub ports --check to detect port conflictsdevhub logs <project> -f to monitor service output