๐ฆ Installation Guide
Get started with Hanoi Rainbow in minutes.
โ๏ธ What You Need
Before installing, make sure you have:
| Requirement | Description |
|---|---|
| Operating System | Linux, macOS, or Windows (PowerShell supported) |
| AI Assistant | Claude Code, GitHub Copilot, Gemini CLI, or CodeBuddy CLI |
| Package Manager | uv |
| Python | Version 3.11 or higher |
| Version Control | Git |
๐ Installation Options
Option 1: Create a New Project
The easiest way to start:
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <PROJECT_NAME>
Option 2: Initialize in Current Directory
Already have a project folder?
# Method 1: Using dot notation
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init .
# Method 2: Using --here flag
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init --here
๐ค Choose Your AI Agent
Specify which AI assistant to use:
# Claude Code
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --ai claude
# Gemini CLI
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --ai gemini
# GitHub Copilot
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --ai copilot
# CodeBuddy CLI
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --ai codebuddy
๐ง Choose Script Type (Bash or PowerShell)
All automation scripts come in both formats:
Default behavior:
- ๐ช Windows โ PowerShell (
.ps1) - ๐ง Linux/macOS โ Bash (
.sh) - ๐ฌ Interactive mode โ You'll be asked
Force a specific type:
# Force Bash scripts
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --script sh
# Force PowerShell scripts
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --script ps
โก Skip Tool Checks (Optional)
Want to set up without checking if AI tools are installed?
uvx --from git+https://github.com/dauquangthanh/hanoi-rainbow.git rainbow init <project_name> --ai claude --ignore-agent-tools
Use this when: You're setting up on a different machine or want to configure tools later.
โ Verify Installation
After setup, check that everything works:
1. Check for Slash Commands
Your AI agent should show these core commands:
Core Workflow:
| Command | Purpose |
|---|---|
/rainbow.regulate |
Set project principles |
/rainbow.specify |
Create specifications |
/rainbow.design |
Generate implementation plans |
/rainbow.taskify |
Break down into actionable tasks |
/rainbow.implement |
Execute the plan |
2. Check Script Files
The .rainbow/scripts directory should contain both:
- โ
Bash scripts (
.sh) for Linux/macOS - โ
PowerShell scripts (
.ps1) for Windows
๐ ๏ธ Troubleshooting
Git Authentication Issues on Linux
Having trouble with Git authentication? Install Git Credential Manager:
#!/usr/bin/env bash
set -e
echo "โฌ๏ธ Downloading Git Credential Manager v2.6.1..."
wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.1/gcm-linux_amd64.2.6.1.deb
echo "๐ฆ Installing..."
sudo dpkg -i gcm-linux_amd64.2.6.1.deb
echo "โ๏ธ Configuring Git..."
git config --global credential.helper manager
echo "๐งน Cleaning up..."
rm gcm-linux_amd64.2.6.1.deb
echo "โ
Done! Git Credential Manager is ready."
Need More Help?
- ๐ Check the Quick Start Guide for next steps
- ๐ Report an issue if something's not working
- ๐ฌ Ask questions in our community