Installation¶
Install RequireKit and set up your environment for requirements management.
Prerequisites¶
- Claude Code or compatible Claude environment
- Git (for version control of requirements)
- Text editor or IDE (optional, for viewing/editing markdown files)
Installation Steps¶
Method 1: Quick Install (Recommended)¶
For macOS/Linux:
curl -sSL https://raw.githubusercontent.com/requirekit/require-kit/main/installer/scripts/install.sh | bash
This single command downloads and runs the installer, setting up require-kit globally on your system.
For Windows (via WSL2):
- Ensure WSL2 is installed on your Windows machine
- Open your WSL2 terminal
- Run the same curl command above
Method 2: Clone Repository¶
If you prefer to clone the source code first:
git clone https://github.com/requirekit/require-kit.git
cd require-kit
chmod +x installer/scripts/install.sh
./installer/scripts/install.sh
What the Installer Does¶
The installer will:
- Install global agents (requirements-analyst, bdd-generator) to ~/.agentecflow/agents/
- Install global commands (epic/feature management) to ~/.agentecflow/commands/
- Create marker file for package detection at ~/.agentecflow/require-kit.marker
- Add ~/.agentecflow/bin to your PATH
- Set up Claude Code integration
Verify Installation¶
After installation, verify that require-kit is available:
# Check installation directory
ls ~/.agentecflow/
# Verify marker file exists
cat ~/.agentecflow/require-kit.marker
Project Initialization¶
Navigate to your project and create the require-kit documentation structure:
cd /path/to/your/project
mkdir -p docs/requirements/{draft,approved,implemented}
mkdir -p docs/epics/{active,completed,cancelled}
mkdir -p docs/features/{active,in_progress,completed}
mkdir -p docs/bdd
After creating the directory structure, require-kit commands are automatically available in Claude Code:
- /gather-requirements - Interactive requirements gathering
- /formalize-ears - Convert to EARS notation
- /generate-bdd - Generate BDD scenarios
- /epic-create - Create epic
- /feature-create - Create feature
- /hierarchy-view - View epic/feature hierarchy
Configuration¶
RequireKit stores configuration in .claude/ directory (user-specific, gitignored):
- Agents:
.claude/agents/- requirements-analyst, bdd-generator - Commands:
.claude/commands/- epic/feature management commands - Settings:
.claude/settings.json- user preferences
Package Status¶
RequireKit is standalone with no dependencies:
- ✅ Works independently for requirements management
- ✅ No external packages required
- ✅ Optional integration with guardkit
- ✅ Bidirectional detection when both installed
Optional: Install guardkit¶
For complete requirements-to-implementation workflow:
# Clone guardkit
git clone https://github.com/guardkit/guardkit.git
cd guardkit
# Run installer
./installer/scripts/install.sh
# Verify integration
ls ~/.agentecflow/*.marker
# Should show both: require-kit.marker + guardkit.marker
Learn more about integration →
Troubleshooting¶
Commands Not Found¶
If commands are not recognized:
-
Verify PATH:
-
Add to PATH (add to
~/.bashrcor~/.zshrc): -
Restart terminal:
Installation Failed¶
If installation fails:
- Check prerequisites are installed
- Ensure you have write permissions to
~/.agentecflow/ - Review installer output for error messages
- Try running installer with
--repairflag:
Marker File Missing¶
If integration not detected:
# Check marker files
ls -la ~/.agentecflow/*.marker
# Re-run installer if missing
cd /path/to/require-kit
./installer/scripts/install.sh --repair
Uninstallation¶
To uninstall require-kit:
# Remove require-kit files
rm -rf ~/.agentecflow/agents/require-kit
rm -rf ~/.agentecflow/commands/require-kit
rm -rf ~/.agentecflow/lib # Shared library files
rm ~/.agentecflow/require-kit.marker
# Remove installation tracking
rm -f ~/.agentecflow/.installed/require-kit.*
If you don't have guardkit or other packages installed, you can remove the entire directory:
What's Next?¶
Need Help?¶
- Check the Troubleshooting Guide
- Review the FAQ
- Report issues on GitHub
Installation complete? Continue to the Quickstart Guide