๐Ÿ“ฆ Installation Guide

Get started with Hanoi Sunrise 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-sunrise.git sunrise 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-sunrise.git sunrise init .

# Method 2: Using --here flag
uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise init --here

๐Ÿค– Choose Your AI Agent

Specify which AI assistant to use:

# Claude Code
uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise init <project_name> --ai claude

# Gemini CLI
uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise init <project_name> --ai gemini

# GitHub Copilot
uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise init <project_name> --ai copilot

# CodeBuddy CLI
uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise init <project_name> --ai codebuddy

๐Ÿ”ง Script Type (Python)

All automation scripts are now Python-based for cross-platform compatibility:

Default behavior:

  • ๐Ÿง All platforms โ†’ Python (.py)
  • ๐Ÿ’ฌ Interactive mode โ†’ You'll be asked if needed

โšก Skip Tool Checks (Optional)

Want to set up without checking if AI tools are installed?

uvx --from git+https://github.com/dauquangthanh/hanoi-sunrise.git sunrise 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
/sunrise.set-ground-rules Set project principles
/sunrise.specify Create specifications
/sunrise.design Generate implementation plans
/sunrise.taskify Break down into actionable tasks
/sunrise.implement Execute the plan

2. Check Script Files

The .sunrise/scripts directory should contain:

  • โœ… Python scripts (.py) for cross-platform execution

๐Ÿ› ๏ธ 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?