Installation
The SentraSec CLI is a single prebuilt binary — no Rust toolchain required. Install it, authenticate, and run security scans from your shell or CI pipeline.
1
Install the binary
The installer detects your platform and drops the sentrasec binary into ~/.local/bin.
$curl -fsSL https://cli.sentrasec.ai/install.sh | bashOr with Homebrew
$brew install sentrasec/tap/sentrasec2
Verify
Confirm the binary is on your PATH:
$sentrasec --versionPrints sentrasec 0.2.0. If the command isn't found, add ~/.local/bin to your PATH (the installer prints the exact line to add).
3
Next steps
Authenticate to link the CLI to your workspace, then run your first DAST scan.
Environment variables
| SENTRASEC_API_KEY | API key for authentication (or run sentrasec login). |
| SENTRASEC_API_URL | Override the API endpoint (self-hosted deployments). |
| SENTRASEC_INSTALL_DIR | Install directory (default ~/.local/bin). |
| SENTRASEC_VERSION | Pin a specific release when installing (default latest). |