Skip to content

macOS

Supported: macOS 10.15+ (Catalina or later), Apple Silicon and Intel.

  1. Open Terminal.

  2. Run the installer:

    Terminal window
    curl -sSL https://proxy.sotatek.works/releases/download/latest/install.sh | bash

    The script downloads the matching binary, verifies the SHA256 checksum, places it under /usr/local/bin/sotatek-proxy (or ~/.local/bin/sotatek-proxy if /usr/local/bin is not writable), seeds a default config, and registers a launchd user agent that auto-starts on login.

  3. Verify the daemon is up:

    Terminal window
    sotatek-proxy status
    curl http://127.0.0.1:3817/_proxy/healthz
WhatPath
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
Terminal window
sotatek-proxy status # running / stopped
sotatek-proxy start # start now
sotatek-proxy stop # stop now
sotatek-proxy logs # tail last 100 lines
sotatek-proxy uninstall # remove launchd agent

If sotatek-proxy status returns command not found, the binary was installed to ~/.local/bin (because /usr/local/bin was not writable) and that directory is not on your PATH. macOS defaults to zsh, so the path goes in ~/.zshrc.

Add it to the right shell rc, then reload:

Terminal window
case "$(basename "${SHELL:-zsh}")" in
bash) RC="$HOME/.bash_profile" ;;
*) RC="$HOME/.zshrc" ;;
esac
LINE='export PATH="$HOME/.local/bin:$PATH"'
grep -qxF "$LINE" "$RC" 2>/dev/null || echo "$LINE" >> "$RC"
source "$RC"

Or fix just the current shell (no new session needed):

Terminal window
export PATH="$HOME/.local/bin:$PATH"
sotatek-proxy status
Terminal window
sotatek-proxy uninstall
rm /usr/local/bin/sotatek-proxy # or ~/.local/bin/sotatek-proxy
rm -rf ~/Library/Application\ Support/sotatek-proxy
rm -rf ~/Library/Logs/sotatek-proxy