Start an App with Portless + Pier Mapping
From the project directory you want the terminal to use:
pier myapp pnpm devThis will:
- register
myapp.localhostto current working directory - ensure the Pier bridge is running
- run portless with your dev command
Multiple Apps in Parallel
pier web pnpm dev
pier api pnpm dev
pier admin pnpm devEach app gets:
- its own hostname under *.localhost
- separate browser storage isolation via portless
- a Pier terminal rooted in the mapped repo directory
Mapping Commands
pier map list
pier map add docs.localhost /path/to/docs-repo
pier map remove docs.localhost
pier map where docs.localhostBridge Commands
pier bridge start
pier bridge start --foreground
pier bridge stop
pier bridge status
pier bridge logsDiagnostics
pier doctorpier doctor prints bridge state, config paths, and extension connection values.
