Prerequisites¶
Before installing TaskGuard, ensure you have the required tools installed on your system.
System Requirements¶
TaskGuard is a lightweight CLI tool with minimal dependencies:
- Operating System: Linux, macOS, Windows, or WSL
- Disk Space: ~10MB for binary
- Memory: Minimal (runs in <50MB RAM)
Required Software¶
1. Git¶
Why: TaskGuard uses Git for version control and history analysis.
Installation:
Download from git-scm.com
Verify:
2. Rust (1.70+)¶
Why: TaskGuard is built in Rust and requires the Rust toolchain for installation.
Installation:
Visit rustup.rs or run:
After installation:
Verify:
Optional Requirements¶
GitHub Access (Private Repository)¶
TaskGuard is currently a private repository in the Guard8.ai organization.
SSH Setup (Recommended):
# Generate SSH key
ssh-keygen -t ed25519 -C "your_email@example.com"
# Add to SSH agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# Copy public key
cat ~/.ssh/id_ed25519.pub
Add the public key to GitHub: Settings → SSH Keys
Test SSH connection:
Alternative: Personal Access Token
Create a token at GitHub Settings → Developer → Personal Access Tokens
Environment Setup¶
Shell Configuration¶
Ensure ~/.cargo/bin is in your PATH:
# Check PATH
echo $PATH | grep -q ".cargo/bin" && echo "✅ Cargo bin in PATH" || echo "❌ Not in PATH"
If not in PATH, add to shell config:
Verification Checklist¶
Before proceeding to installation, verify:
- Git installed and working
- Rust 1.70+ installed
- Cargo in PATH
- GitHub SSH access configured (for private repo)
- Terminal/shell properly configured
Quick verification:
Expected output:
Next Steps¶
Once prerequisites are met: