Install gotunnel

Choose your preferred installation method for your operating system

🍎 macOS Installation

Homebrew (Recommended)

The easiest way to install gotunnel on macOS

brew tap ferg-cod3s/gotunnel
brew install gotunnel

Install Script

Direct installation using our install script

curl -sSL https://raw.githubusercontent.com/johncferguson/gotunnel/main/scripts/install.sh | bash

Go Install

If you have Go installed

go install github.com/johncferguson/gotunnel/cmd/gotunnel@latest

✅ Verify Installation

After installation, verify that gotunnel is working correctly:

Check Version

gotunnel --version

Quick Test

Start a simple tunnel (no root privileges required):

gotunnel --proxy=builtin --no-privilege-check start \
  --port 3000 --domain test --https=false