macOS
Supported: macOS 10.15+ (Catalina or later), Apple Silicon and Intel.
Install
Section titled “Install”-
Open Terminal.
-
Run the installer:
Terminal window curl -sSL https://proxy.sotatek.works/releases/download/latest/install.sh | bashThe script downloads the matching binary, verifies the SHA256 checksum, places it under
/usr/local/bin/sotatek-proxy(or~/.local/bin/sotatek-proxyif/usr/local/binis not writable), seeds a default config, and registers a launchd user agent that auto-starts on login. -
Verify the daemon is up:
Terminal window sotatek-proxy statuscurl http://127.0.0.1:3817/_proxy/healthz
-
Clone the repository:
Terminal window git clone https://github.com/sotatek-dev/sotatek-proxy.gitcd sotatek-proxy -
Build and install:
Terminal window bash scripts/install-from-source.shThe script detects your platform (Apple Silicon or Intel), runs
make build-darwin-arm64/make build-darwin-amd64, copies the binary to/usr/local/bin/sotatek-proxy(or~/.local/bin/sotatek-proxyif/usr/local/binis not writable), seeds a default config, and registers the launchd user agent.Optional flags:
Flag Description --no-serviceBinary only — skip launchd agent registration --prefix DIROverride install directory -
Verify the daemon is up:
Terminal window sotatek-proxy statuscurl http://127.0.0.1:3817/_proxy/healthz
Where things live
Section titled “Where things live”| What | Path |
|---|---|
| Binary | /usr/local/bin/sotatek-proxy (or ~/.local/bin/sotatek-proxy) |
| Config | ~/Library/Application Support/sotatek-proxy/config.yaml |
| Logs | ~/Library/Logs/sotatek-proxy/sotatek-proxy.log |
| Service | ~/Library/LaunchAgents/com.sotatek.proxy.plist |
Service commands
Section titled “Service commands”sotatek-proxy status # running / stoppedsotatek-proxy start # start nowsotatek-proxy stop # stop nowsotatek-proxy logs # tail last 100 linessotatek-proxy uninstall # remove launchd agentTroubleshooting
Section titled “Troubleshooting”Another process holds 3817. Either free the port or change config:
lsof -i :3817 # find the holdersotatek-proxy stop && sotatek-proxy startOr set port: 3818 in config.yaml and restart.
sotatek-proxy logslaunchctl print gui/$UID/com.sotatek.proxysotatek-proxy daemon # foreground for debuggingConfirm the agent is loaded:
launchctl list | grep com.sotatek.proxysotatek-proxy daemon # foreground sanity checkUninstall
Section titled “Uninstall”sotatek-proxy uninstallrm /usr/local/bin/sotatek-proxy # or ~/.local/bin/sotatek-proxyrm -rf ~/Library/Application\ Support/sotatek-proxyrm -rf ~/Library/Logs/sotatek-proxy