Download for Linux
CLI Gateway
Install the local command-line gateway package for your operating system and run policy enforcement from your development environment.
Install the kt gateway, create and validate a starter configuration, then run governed traffic from your environment.
Download for Linux
Install the local command-line gateway package for your operating system and run policy enforcement from your development environment.
Run the gateway from any shell, script, or local workflow after installing the CLI binary.
curl -fsSLO https://dl.eu.keeptrusts.com/releases/latest/kt-linux-x86_64.debFollow detailed platform steps, verify the install, and move into the first policy-enforced request.
Setup steps
Download the universal disk image for Apple Silicon and Intel Macs.
Download and install the universal binary.
curl -fsSLO https://dl.eu.keeptrusts.com/releases/latest/kt-macos-universal.dmg
hdiutil attach kt-macos-universal.dmg
sudo cp /Volumes/Keeptrusts\ Gateway/kt /usr/local/bin/kt
hdiutil detach /Volumes/Keeptrusts\ GatewayConfirm that the kt binary is available.
kt --version
kt doctorCreate a starter policy configuration file.
kt initValidate the configuration, then start the gateway.
kt policy lint --file policy-config.yaml
kt policy test --json
export KEEPTRUSTS_API_TOKEN="kt_your_gateway_runtime_token"
export KEEPTRUSTS_UPSTREAM_URL="https://api.openai.com"
export KEEPTRUSTS_UPSTREAM_API_KEY="sk-..."
kt gateway run --listen 0.0.0.0:41002 --agent local-evaluation --policy-config policy-config.yamlDownload the Debian or RPM package for Linux amd64 hosts.
Install the Debian or RPM package for your distribution.
# Debian / Ubuntu
curl -fsSLO https://dl.eu.keeptrusts.com/releases/latest/kt-linux-x86_64.deb
sudo dpkg -i kt-linux-x86_64.deb
# RHEL / Fedora
curl -fsSLO https://dl.eu.keeptrusts.com/releases/latest/kt-linux-x86_64.rpm
sudo rpm -i kt-linux-x86_64.rpmConfirm that the kt binary is available.
kt --version
kt doctorCreate a starter policy configuration file.
kt initValidate the configuration, then start the gateway.
kt policy lint --file policy-config.yaml
kt policy test --json
export KEEPTRUSTS_API_TOKEN="kt_your_gateway_runtime_token"
export KEEPTRUSTS_UPSTREAM_URL="https://api.openai.com"
export KEEPTRUSTS_UPSTREAM_API_KEY="sk-..."
kt gateway run --listen 0.0.0.0:41002 --agent local-evaluation --policy-config policy-config.yamlDownload the binary for ARM64 Linux systems, including 64-bit Raspberry Pi and AWS Graviton systems.
Extract the ARM64 kt binary into your PATH.
curl -fsSL https://dl.eu.keeptrusts.com/releases/latest/kt-linux-aarch64.tar.gz \
| sudo tar xz -C /usr/local/bin ktConfirm that the kt binary is available.
kt --version
kt doctorCreate a starter policy configuration file.
kt initValidate the configuration, then start the gateway.
kt policy lint --file policy-config.yaml
kt policy test --json
export KEEPTRUSTS_API_TOKEN="kt_your_gateway_runtime_token"
export KEEPTRUSTS_UPSTREAM_URL="https://api.openai.com"
export KEEPTRUSTS_UPSTREAM_API_KEY="sk-..."
kt gateway run --listen 0.0.0.0:41002 --agent local-evaluation --policy-config policy-config.yamlDownload the Windows package and unpack it from PowerShell.
Download the ZIP package and extract kt.exe.
Invoke-WebRequest -Uri "https://dl.eu.keeptrusts.com/releases/latest/kt-windows-x86_64.zip" -OutFile kt-windows-x86_64.zip
Expand-Archive kt-windows-x86_64.zip -DestinationPath "$env:LOCALAPPDATA\keeptrusts"Confirm from PowerShell that kt.exe runs.
$env:PATH += ";$env:LOCALAPPDATA\keeptrusts"
kt --version
kt doctorCreate a starter policy configuration file.
kt initValidate the configuration, then start the gateway.
kt policy lint --file policy-config.yaml
kt policy test --json
$env:KEEPTRUSTS_API_TOKEN = "kt_your_gateway_runtime_token"
$env:KEEPTRUSTS_UPSTREAM_URL = "https://api.openai.com"
$env:KEEPTRUSTS_UPSTREAM_API_KEY = "sk-..."
kt gateway run --listen 0.0.0.0:41002 --agent local-evaluation --policy-config policy-config.yamlAfter install
Follow the quickstart to validate a configuration and send a policy-enforced request.
Start the quickstart →Browse configurable controls for data protection, safety, compliance workflows, routing, and human review.
Explore policies →Detailed installation and configuration instructions for each supported platform.
Read the guide →Documentation is available at docs.keeptrusts.com.