Skip to content

Install

PortBay ships as a signed macOS app. Developers can install the current release with Homebrew or download the DMG from GitHub Releases.

Homebrew

bash
brew tap portbay-app/portbay
brew install --cask portbay

The cask installs PortBay.app and the bundled portbay CLI. Uninstalling with Homebrew removes the app; brew uninstall --zap portbay also removes PortBay's local app data, caches, logs, preferences, and WebKit state.

DMG

Download the latest PortBay-<version>.dmg from GitHub Releases, mount it, and drag PortBay.app into Applications. The app is signed and notarized for macOS Gatekeeper.

Build From Source

Source builds are for contributors. The app expects Node, pnpm, Rust, and Tauri prerequisites to be installed.

Requirements

RequirementNotes
macOSPrimary target for the current implementation.
Node.jsUse the project’s supported local Node version.
pnpmThe repo uses pnpm-lock.yaml.
RustRequired for the Tauri core and CLI.
Xcode Command Line ToolsRequired for native builds on macOS.

Clone And Install

bash
git clone https://github.com/portbay-app/portbay.git
cd portbay
pnpm install

Fetch Development Sidecars

Tauri looks for sidecars under src-tauri/binaries/<name>-<target-triple>. Process Compose is committed. The larger or platform-specific tools are fetched per checkout.

bash
./scripts/fetch-caddy.sh
./scripts/fetch-mkcert.sh
./scripts/fetch-mailpit.sh
./scripts/fetch-cloudflared.sh
./scripts/fetch-dnsmasq.sh

The scripts write into the repository checkout. They should be run from the repo root. Do not hand-place global binaries into the app bundle while developing; the app should be able to reproduce its own expected local sidecar layout.

fetch-dnsmasq.sh bundles the DNS resolver that powers wildcard *.test routing. Because PortBay ships its own copy, there is no separate brew install dnsmasq step — DNS routing works out of the box, both in a source checkout and in the signed release build.

Verify The Checkout

bash
cd src-tauri
cargo test
cd ..
pnpm check

Run The App

bash
pnpm tauri dev

If the app fails before the first window opens, check that the sidecars are present and executable.

PortBay is pre-MVP software. Use the docs as an operating guide, not a stability guarantee.