Skip to content

Sub-Agent Installation not working on WSL2 (Windows) #1

@leex279

Description

@leex279

When trying to install the sub-agents with this command claude-agents install --all, I get the following errors:

leex@Leex:/mnt/c/Users/Leex279/Documents/GitHub/leex279/rittergz-nextcloud-bot$ claude-agents install --all

╔═══════════════════════════════════════════╗
║       Claude Sub-Agents Manager           ║
║   Enhance Claude Code with AI Agents      ║
╚═══════════════════════════════════════════╝

? Where would you like to install the agents? User
? Install 6 agent(s) to user directory? Yes

✖ Failed to install code-reviewer: __dirname is not defined
✖ Failed to install debugger: __dirname is not defined
✖ Failed to install doc-writer: __dirname is not defined
✖ Failed to install refactor: __dirname is not defined
✖ Failed to install security-scanner: __dirname is not defined
✖ Failed to install test-runner: __dirname is not defined

✓ Installation complete!
Use "claude-agents list" to see your installed agents.
Agents are automatically enabled. Use "claude-agents disable <agent>" to disable.
leex@Leex:/mnt/c/Users/Leex279/Documents/GitHub/leex279/rittergz-nextcloud-bot$

System: Windows 11, WSL2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions