Repository navigation
PromptGuard CLI v2.5.1
·
11 commits
to main
since this release
PromptGuard CLI v2.5.1
Fixed
promptguard verifyno longer fails against a healthy API. Its
connectivity check asked for/api/v1/health, which the API does not serve
(/healthis at the host root), soverifyreportedAPI unreachable
with a working key and exited2, andwhoamiandtestsaid the API was
unreachable. CI jobs gated onverify --json, as the docs' GitHub Actions
example is, failed on every run. The check now probes/healthat the host
root of your base URL; a base URL that does not end in/api/v1is probed
as given.
Drop-in LLM security for your applications - Built with Rust + Tree-sitter
Installation
One-line install (macOS/Linux):
curl -fsSL https://raw.githubusercontent.com/promptguardhq/promptguard-cli/main/install.sh | shManual install:
- Download the binary for your platform below
- Make it executable:
chmod +x promptguard-* - Move to PATH:
sudo mv promptguard-* /usr/local/bin/promptguard - Verify:
promptguard --version
Checksums
SHA256 checksums are provided for each binary (.sha256 files).
About PromptGuard CLI
- ✅ Real AST transformations using Tree-sitter
- ✅ TypeScript, JavaScript, Python support
- ✅ OpenAI, Anthropic, Cohere, HuggingFace providers
- ✅ Automatic backups with safe revert
- ✅ Single 5.3MB static binary
Supported Platforms
- macOS ARM64 (M1/M2/M3)
- macOS x86_64 (Intel)
- Linux x86_64
- Windows x86_64
📖 Documentation: https://docs.promptguard.co/cli
🏠 Homepage: https://promptguard.co
🐛 Issues: https://github.com/promptguardhq/promptguard-cli/issues