Installation Guide
This guide covers installation for both end users and contributors.System Requirements
Operating System
Linux, macOS, or WSL2 on Windows
Bash
Version 4.0+ (installer auto-detects Homebrew Bash on macOS)
Disk Space
~10 MB for installation
For End Users
Option 1: One-liner (Easiest)
--force:
Option 2: Download and Run
- Download install.sh
- Open Terminal and run:
The installer automatically detects missing dependencies (jq, flock) and offers to install them using your system’s package manager (apt, dnf, brew, pacman, apk).
Option 3: From Source (for Contributors)
For Contributors
One-liner Install
From Source
Dev mode creates symlinks in
~/.local/bin/ pointing to your local repository. Changes to the repo are immediately reflected without reinstalling.Release mode copies files to ~/.cleo/, creating an independent installation.Installation Directory Structure
Project Initialization
After global installation, initialize CLEO in each project:| File | Purpose |
|---|---|
.cleo/todo.json | Active tasks |
.cleo/todo-archive.json | Completed tasks |
.cleo/config.json | Project configuration |
.cleo/todo-log.json | Audit trail |
cleo init automatically injects task management instructions into CLAUDE.md, AGENTS.md, and GEMINI.md using {/* CLEO:START */} and {/* CLEO:END */} markers.Prerequisites (Auto-Installed)
The installer will offer to install these if missing:jq (JSON processor)
jq (JSON processor)
Required for JSON manipulation.Manual install if needed:
- Ubuntu/Debian
- macOS
- Fedora
flock (file locking)
flock (file locking)
Required for atomic file operations.
- Linux: Pre-installed (part of util-linux)
- macOS:
brew install flockorbrew install util-linux
Bash 4.0+
Bash 4.0+
macOS ships with Bash 3.x. The installer auto-detects Homebrew Bash at:
/opt/homebrew/bin/bash(Apple Silicon)/usr/local/bin/bash(Intel)
Shell Completions
Enable tab completion for faster command entry:- Bash
- Zsh
Add to
~/.bashrc:Migration from claude-todo
If you have existing claude-todo installations:Troubleshooting
Command Not Found
Command Not Found
macOS Bash Version Error
macOS Bash Version Error
If you see errors about Bash version:
Validation Errors
Validation Errors
Permission Denied
Permission Denied
