Installation

Claudio installation is a two-step process: install the binary, then configure Claude Code integration.

Step 1: Install the Binary

Install Claudio using Go’s package manager:

go install github.com/ctoth/claudio@latest

This downloads and builds Claudio, placing the binary in your $GOPATH/bin directory (usually ~/go/bin). Make sure this directory is in your system PATH.

Step 2: Configure Claude Code Integration

Claudio provides a simple CLI command to automatically configure Claude Code hooks:

claudio install --scope user

This command:

Installation Scopes

You can install Claudio at different scopes:

User Scope (Recommended)

claudio install --scope user

Installs hooks in your personal Claude Code settings. Affects all Claude Code sessions for your user account.

Project Scope

claudio install --scope project

Installs hooks in the current project’s Claude Code settings. Only affects Claude Code when working in this specific project directory.

Installation Options

Dry Run Mode

claudio install --dry-run --scope user

Shows what would be installed without making any changes. Perfect for testing.

Force Installation

claudio install --force --scope user

Overwrites existing hooks without prompting. Use when you need to update your Claudio configuration.

Quiet Mode

claudio install --quiet --scope user

Installs with minimal output messages.

Print Configuration

claudio install --print --scope user

Shows the configuration details that would be written.

Verification

After installation, verify Claudio is working:

  1. Check the installation:
    claudio install --dry-run --scope user
    

    Should show that Claudio hooks are already installed.

  2. Test audio playback:
    echo '{"session_id":"test","transcript_path":"/test","cwd":"/test","hook_event_name":"PostToolUse","tool_name":"Bash","tool_response":{"stdout":"success","stderr":"","interrupted":false}}' | claudio
    

    You should hear a success sound.

  3. Test with Claude Code: Run any Claude Code command that uses tools. You should hear audio feedback when tools start and complete.

Claude Code Settings Location

Claudio automatically finds your Claude Code settings in these locations:

User Settings:

Project Settings:

What Gets Installed

The installation adds these hooks to your Claude Code settings:

{
  "hooks": {
    "PreToolUse": "claudio",
    "PostToolUse": "claudio",
    "UserPromptSubmit": "claudio"
  }
}

These hooks tell Claude Code to call Claudio:

Troubleshooting Installation

“claudio: command not found”

“No Claude Code settings found”

Installation succeeds but no sounds

See the Troubleshooting page for more detailed solutions.

Next Steps