Installation & System Requirements
System Requirements
ctxsec is engineered as a static, single-binary application with zero dynamic runtime dependencies and zero CGo.
| Operating System | Architecture | Kernel Sandboxing Mechanism |
|---|---|---|
| macOS (Darwin) | Apple Silicon (arm64), Intel (amd64) |
Apple Seatbelt SBPL (sandbox-exec) |
| Linux | amd64, arm64 |
Bubblewrap (bwrap) + User Namespaces |
| Containers / Kubernetes | Linux amd64 |
gVisor (runsc) / Kata Containers |
Installation Methods
Method 1: Shell Installer (Recommended)
Method 2: Manual Binary Download
Download pre-compiled binaries from the GitHub Releases page:
# macOS ARM64 (Apple Silicon)
curl -LO https://github.com/gosecio/ctxsec/releases/latest/download/ctx_Darwin_arm64.tar.gz
tar -xzf ctx_Darwin_arm64.tar.gz
sudo mv ctx /usr/local/bin/
# Linux x86_64
curl -LO https://github.com/gosecio/ctxsec/releases/latest/download/ctx_Linux_x86_64.tar.gz
tar -xzf ctx_Linux_x86_64.tar.gz
sudo mv ctx /usr/local/bin/