Installation
Prerequisites
- macOS or Linux (Windows not tested)
Quick Install (Recommended)
Run the install script to download and set up APXY automatically:
curl -fsSL https://apxy.dev/install.sh | bashThis installs the binary to ~/.apxy/bin/apxy and adds it to your PATH.
Next step for AI clients
If you want to use APXY through Codex, Claude Code, or another MCP-compatible client, preview the available setup paths with:
apxy setup mcpThen apply the automatic setup path for supported providers, for example:
apxy setup mcp --client codex --write
apxy setup mcp --client claude-code --scope user --writeManual-only providers such as Cursor will print the config file path and JSON snippet to paste.
The MCP server also ships the apxy skill, which teaches the agent how to use APXY. Claude Code 2.1.331 or later loads it as apxy:apxy with nothing else to install, and the Codex setup above installs it as files. For Cursor, claude -p, and CI, install the skill files yourself:
apxy setup skills --client codex --write # ~/.agents/skills/apxy, read by Codex and Cursor
apxy setup skills --client claude-code --write # ~/.claude/skills/apxyThe installed files update themselves when apxy updates. See The apxy skill.
MCP tools mask passwords, emails, and other secrets before the agent sees any traffic. See AI Data Redaction.
Manual Download
Or download manually from GitHub Releases :
| Binary | Platform |
|---|---|
apxy-darwin-arm64 | macOS (Apple Silicon — M1/M2/M3/M4) |
apxy-darwin-amd64 | macOS (Intel) |
apxy-linux-amd64 | Linux (x86_64) |
chmod +x apxy-darwin-arm64
mv apxy-darwin-arm64 apxy
sudo mv apxy /usr/local/bin/Verify installation
apxy version
# APXY v1.10.0macOS note: The official release binaries are signed with an Apple Developer ID and notarized by Apple. They run without Gatekeeper warnings. If macOS blocks a binary, go to System Settings > Privacy & Security and click “Allow Anyway”, or run:
xattr -d com.apple.quarantine ./apxy
Linux certificate trust
On Linux, after generating the APXY CA certificate, you need to add it to the system trust store:
# Generate the CA certificate
apxy certs generate
# Copy to the system trust store (Debian/Ubuntu)
sudo cp ./certs/apxy-ca.crt /usr/local/share/ca-certificates/apxy-ca.crt
sudo update-ca-certificates
# For RHEL/CentOS/Fedora
sudo cp ./certs/apxy-ca.crt /etc/pki/ca-trust/source/anchors/apxy-ca.crt
sudo update-ca-trustSee Certificate Setup for more details.