Files
yuqei 124a18a4ec
Deploy VitePress Docs / build (push) Has been cancelled
Deploy VitePress Docs / deploy (push) Has been cancelled
Initialize cc-haha project mirror.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 13:41:51 +08:00

864 B

Global Usage (Run from Any Directory)

If you want to run claude-haha directly from any project directory, set up one of the following. Once configured, claude-haha will automatically recognize your current working directory.

macOS / Linux

Add to ~/.bashrc or ~/.zshrc:

# Option 1: Add to PATH (recommended)
export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"

# Option 2: Alias
alias claude-haha="$HOME/path/to/claude-code-haha/bin/claude-haha"

Then reload the config:

source ~/.bashrc  # or source ~/.zshrc

Windows (Git Bash)

Add to ~/.bashrc:

export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"

Verify

After setup, navigate to any project directory and test:

cd ~/your-other-project
claude-haha
# Ask "What is the current directory?" — it should show ~/your-other-project