Installation¶
Install TaskGuard globally to use with all your projects.
Pre-built Binaries (Fastest)¶
Download pre-built binaries from GitHub Releases:
| Platform | Binary |
|---|---|
| Linux x86_64 | taskguard-linux-x86_64 |
| macOS (ARM64/Intel via Rosetta) | taskguard-macos-aarch64 |
| Windows x86_64 | taskguard-windows-x86_64.exe |
| WSL | taskguard-linux-x86_64 |
# Example: Linux
curl -L https://github.com/Guard8-ai/TaskGuard/releases/latest/download/taskguard-linux-x86_64 -o taskguard
chmod +x taskguard
sudo mv taskguard /usr/local/bin/
Quick Install (From Source)¶
Use platform-specific scripts for automated installation:
Installation Location: ~/.cargo/bin/taskguard
What the script does:
1. Checks prerequisites (Git, Rust 1.70+)
2. Builds release binary (cargo build --release)
3. Installs globally (cargo install --path . --locked)
4. Verifies installation
Time: ~2-3 minutes (depending on build speed)
Manual Installation¶
Step-by-Step¶
-
Clone Repository
-
Build Release Binary
Output:
-
Install Globally
Installation path:
~/.cargo/bin/taskguard -
Verify Installation
Expected:
Verification¶
Test Commands¶
# Check version
taskguard --version
# Show help
taskguard --help
# Test in a project
cd ~/test-project
taskguard init
Expected output from taskguard init:
🚀 Initializing TaskGuard...
📝 Created example task: tasks/setup/001-project-setup.md
✅ TaskGuard initialized successfully!
📁 Created directories:
.taskguard/ # Configuration and state
tasks/ # Task files organized by area
tasks/setup/
tasks/backend/
tasks/frontend/
tasks/api/
tasks/auth/
tasks/testing/
Troubleshooting¶
Command Not Found¶
Issue:
Solution:
-
Check installation:
-
Verify PATH:
-
Add to PATH:
-
Restart terminal
Build Errors¶
Issue:
Solutions:
-
Update Rust:
-
Clean build:
-
Check dependencies:
Permission Errors¶
Issue:
Solution:
# Make script executable
chmod +x scripts/install-*.sh
# Or use cargo directly (no sudo needed)
cargo install --path . --locked
Repository Access Issues¶
Issue:
Solutions:
-
Check SSH access:
-
Verify organization membership:
- Ensure you're part of Guard8-ai organization
- Check repository permissions
-
Use HTTPS with token:
Platform-Specific Notes¶
macOS¶
- Requires: Xcode Command Line Tools
- Install location:
~/.cargo/bin/ - Universal binary: Works on Intel & Apple Silicon
- Permissions: User-level (no admin required)
Linux¶
- Requires:
build-essential(Ubuntu/Debian) or equivalent - Install location:
~/.cargo/bin/ - Supported distros: Ubuntu, Debian, Fedora, Arch, etc.
- Permissions: User-level (no sudo required)
Windows¶
- Requires: Git for Windows, Rust
- Install location:
%USERPROFILE%\.cargo\bin\ - PowerShell: May need execution policy adjustment
- Compatibility: Works with PowerShell, CMD, Windows Terminal
WSL/WSL2¶
- Fully compatible with Linux installation
- Performance: WSL2 recommended for faster builds
- Cross-filesystem: Works across Windows/Linux filesystems
- Install location:
~/.cargo/bin/
Updating TaskGuard¶
To update to the latest version:
Verify update:
Uninstalling¶
To remove TaskGuard:
# Remove binary
cargo uninstall taskguard
# Or manually
rm ~/.cargo/bin/taskguard # Linux/macOS
del %USERPROFILE%\.cargo\bin\taskguard.exe # Windows
# Optional: Remove project data
# Delete .taskguard/ and tasks/ from your projects
Next Steps¶
Installation complete! Now: