One-line installers for Cloudanix products. Served at install.cloudanix.com.
curl -fsSL https://install.cloudanix.com/cdxai | bashEnv vars go on the
bashside of the pipe, not oncurl. Vars set beforecurldon't propagate through the pipe (a classic curl-pipe-bash gotcha).
This repository is the public, MIT-licensed source of every installer Cloudanix asks customers to run. The products they install live in their own repositories and carry their own licenses.
- Auditability is the trust contract for
curl | bash. A customer pasting our URL into a browser before running the command should be able to read every line. - Pinned-version installs need a public git history. Customers running an older release can compare diffs.
- No product IP is exposed. Installers orchestrate a download from
a public Cloudanix-controlled artefact mirror
(
Cloudanix/artifacts) and verify a SHA256 sidecar before installing. No secrets in scripts; no per-customer tokens to manage.
| Product | URL |
|---|---|
| Cloudanix Guard | install.cloudanix.com/cdxai |
curl -fsSL https://install.cloudanix.com/cdxai | bashWhat that does (paraphrased from the script itself):
- Verifies
curlandtarare available and detects your OS/arch. - Downloads the matching release archive
(
cdxai_<version>_<os>_<arch>.tar.gz) + its SHA256 sidecar fromgithub.laiyagushi.com/Cloudanix/artifacts/raw/main/coding-agent-guard/. - Verifies the archive against its SHA256 — aborts on mismatch.
- Extracts the self-contained
cdxaibinary — no Python, no runtime to manage. - Installs it at the stable path
~/.cdxai/bin/cdxai, so upgrades replace the binary in place and never invalidate paths other tools have registered (e.g. Codex's hook trust-hash). - Prints next-step instructions, including how to wire the guard into Claude Code / Codex / Kiro.
curl -fsSL https://install.cloudanix.com/cdxai \
| CDXAI_VERSION="0.1.1" bashThe named version must exist in Cloudanix/artifacts/coding-agent-guard/
as cdxai_<version>_<os>_<arch>.tar.gz (with a matching
.sha256 sidecar) for your platform. Otherwise the installer aborts
with a 404 from the artifact CDN.
- Installer is MIT-licensed. Inspect, fork, port — no restrictions.
- Binary integrity is verified. Each release archive ships a
.sha256sidecar published alongside it; the installer downloads both and aborts on mismatch. - No secrets in the script. No GitHub tokens, no API keys, nothing read from the environment that touches an auth header.
- No
sudo. Default install is under$HOME. - No persistent shell modifications. The script prints
export PATH=…guidance but never edits~/.bashrc/~/.zshrcfor you. - Strict mode + ShellCheck on CI —
set -euo pipefail; no unguardedcommand-not-found; no implicit word-split bugs. - Dev-only env-var overrides are gated behind
CDXAI_INSTALL_DEV=1. Without that flag, the overrides (CDXAI_LOCAL_LIB,CDXAI_LOCAL_BINARY,CDXAI_LOCAL_TARBALL,CDXAI_INSTALL_BASE,CDXAI_ARTIFACTS_URL) refuse to apply — closes a phishing path where someone tricks a developer into pastingCDXAI_LOCAL_BINARY=/tmp/evil curl … | bash.
Found a bug? Open an issue on this repo. For sensitive disclosures
contact security@cloudanix.com.
The installer scripts in this repository are MIT-licensed (LICENSE). The Cloudanix products they install carry their own licenses, which you accept on first run.