Quick Start
Get your first project running with a custom .test domain in under a minute.
Register a Project
Navigate to your project directory and register it with PortPilot:
cd ~/projects/my-appportpilot add my-appPortPilot will auto-detect your framework (Next.js, Vite, etc.) and assign an available port starting from 3001.
Start Your Dev Server
Start the dev server in the background:
portpilot start my-app -dYour app is now accessible at https://my-app.test
That's it!
Open https://my-app.test in your browser. PortPilot handles SSL, port assignment, and routing automatically.
Quick Commands from Project Directory
When you're inside a registered project directory, you can use shorthand commands without specifying the project name:
portpilot start # Start the dev serverportpilot stop # Stop the dev serverportpilot restart # Restart the dev serverportpilot logs # View server logsportpilot open # Open in browserView All Projects
See all registered projects and their status:
portpilot listThis shows each project's ID, name, port, URL, and running status.
Custom Options
You can customize how projects are registered:
# Register with a specific portportpilot add my-api --port 4000# Register a project at a different pathportpilot add my-api -p /path/to/project# Use a custom dev commandportpilot add my-api -c "npm run serve -- --port {port}"The {port} placeholder
When using a custom command, include {port} where the port number should go. PortPilot will replace it with the assigned port.