Installation
The PromptGuard CLI is distributed as a single static binary with zero runtime dependencies.One-Line Install (Recommended)
- macOS / Linux
- Auto-detect your OS and architecture
- Download the appropriate binary from GitHub releases
- Verify SHA256 checksum
- Install to
/usr/local/bin/promptguard - Test the installation
The installer requires
curl and may prompt for sudo permission to install to /usr/local/bin.Manual Installation
1. Download Binary
Visit the GitHub Releases page and download the binary for your platform:| Platform | Binary | Size |
|---|---|---|
| macOS Apple Silicon (M1/M2/M3) | promptguard-macos-arm64 | 5.3MB |
| macOS Intel | promptguard-macos-x86_64 | 5.3MB |
| Linux 64-bit | promptguard-linux-x86_64 | 5.3MB |
| Linux ARM64 | promptguard-linux-arm64 | 5.3MB |
2. Verify Checksum (Optional but Recommended)
3. Install
Package Managers (Coming Soon)
Homebrew (macOS)
Homebrew formula coming in Week 2 after initial release.
Cargo (Rust)
Cargo package coming in Week 2 after initial release.
npm (JavaScript Ecosystem)
npm wrapper coming in Week 3 after initial release.
Verify Installation
After installation, verify everything works:System Requirements
- Operating System: macOS 10.15+ or Linux (glibc 2.27+)
- Architecture: x86_64 (64-bit) or ARM64
- Disk Space: 10MB (binary + config files)
- Network: Internet connection for initial download and API calls
Supported Platforms
macOS
macOS
- macOS 10.15 (Catalina) or later
- ARM64 (M1/M2/M3) - Native Apple Silicon support
- x86_64 (Intel) - Full support
Linux
Linux
- glibc 2.27+ (Ubuntu 18.04+, Debian 10+, CentOS 8+)
- x86_64 (64-bit Intel/AMD)
- ARM64 (aarch64)
- Tested on: Ubuntu 20.04/22.04, Debian 11/12, CentOS 8/9, Fedora 36+
Update
To update to the latest version:Uninstall
To remove the CLI:Troubleshooting
Permission denied when installing
Permission denied when installing
The installer needs
sudo to write to /usr/local/bin. Either:- Run with sudo:
curl ... | sudo sh - Or install to user directory:
mkdir -p ~/bin && mv promptguard ~/bin/
Command not found after install
Command not found after install
/usr/local/bin might not be in your PATH. Add it:Cannot execute binary file
Cannot execute binary file
You downloaded the wrong architecture. Check your system:
SSL/TLS errors on Linux
SSL/TLS errors on Linux
Install CA certificates: