Skip to content

Installation

Download and install the Trapdoor client for your operating system.

macOS / Linux

bash
curl -fsSL https://trapdoor.sh/install.sh | sh

Windows

powershell
irm https://trapdoor.sh/install.ps1 | iex

Or download trapdoor.exe directly.

Manual Installation

Download the binary for your platform:

PlatformDownload
macOS (Intel)trapdoor-darwin-amd64
macOS (Apple Silicon)trapdoor-darwin-arm64
Linux (x64)trapdoor-linux-amd64
Windows (x64)trapdoor.exe

After downloading, make the binary executable (macOS/Linux):

bash
chmod +x trapdoor-*
sudo mv trapdoor-* /usr/local/bin/trapdoor

Verify Installation

bash
trapdoor

You should see:

Trapdoor - Expose your localhost to the internet

Usage: trapdoor <port> [name]

Next Steps