Skip to content

Binary Installation

Work in Progress

This page is still being improved. Some details may not be fully accurate — please refer to the actual behavior when in doubt.

Install Frpc-Hub using pre-compiled binaries — ideal for running directly on a server or local machine.

Download

Go to the GitHub Releases page and download the package for your platform:

OSArchitectureFilename
Linuxx86_64 (amd64)frpc-hub-linux-amd64.tar.gz
LinuxARM64frpc-hub-linux-arm64.tar.gz
LinuxARMv7frpc-hub-linux-armv7.tar.gz
macOSIntelfrpc-hub-darwin-amd64.tar.gz
macOSApple Siliconfrpc-hub-darwin-arm64.tar.gz
Windowsx86_64frpc-hub-windows-amd64.zip

Or download directly from the command line (Linux amd64 example):

bash
curl -LO https://github.com/luckjiawei/frpc-hub/releases/latest/download/frpc-hub-linux-amd64.tar.gz

Install

Linux / macOS

bash
# Extract
tar -xzf frpc-hub-linux-amd64.tar.gz

# Move to system path (optional)
sudo mv frpc-hub /usr/local/bin/

# Make executable
sudo chmod +x /usr/local/bin/frpc-hub

# Verify installation
frpc-hub --version

Windows

Extract the .zip file to any directory, then open PowerShell or Command Prompt inside that directory to use it.

Start

bash
frpc-hub serve --http 0.0.0.0:8090

After starting, visit http://localhost:8090 for the main interface and http://localhost:8090/_/ for the admin panel.

TIP

On first launch, the database is initialized automatically. Data is stored in a pb_data/ folder in the current working directory. Fix the working directory to avoid data scatter.

Auto-start on Boot (Linux)

Use systemd to manage the Frpc-Hub process.

1. Create a dedicated user (optional but recommended)

bash
sudo useradd -r -s /bin/false frpchub

2. Create the data directory

bash
sudo mkdir -p /var/lib/frpc-hub
sudo chown frpchub:frpchub /var/lib/frpc-hub

3. Create the systemd service file

bash
sudo tee /etc/systemd/system/frpc-hub.service > /dev/null <<EOF
[Unit]
Description=Frpc-Hub Service
After=network.target

[Service]
Type=simple
User=frpchub
WorkingDirectory=/var/lib/frpc-hub
ExecStart=/usr/local/bin/frpc-hub serve --http 0.0.0.0:8090
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target
EOF

4. Enable and start the service

bash
sudo systemctl daemon-reload
sudo systemctl enable frpc-hub
sudo systemctl start frpc-hub

# Check status
sudo systemctl status frpc-hub

View Logs

bash
sudo journalctl -u frpc-hub -f

Next Steps

Released under the MIT License.