claude-flow icon indicating copy to clipboard operation
claude-flow copied to clipboard

Claude Flow Setup & Issue Report

Open Abbashammoud135 opened this issue 4 months ago โ€ข 8 comments

Issue:

After running the swarm command, there was no output or response โ€” the tool appeared unresponsive or stuck.

Installed Claude Code globally npm install -g @anthropic-ai/claude-code Activated Claude Code with elevated permissions claude --dangerously-skip-permissions Opened a new terminal and installed Claude Flow (alpha version) npm install -g claude-flow@alpha Initialized Claude Flow project claude-flow init Tested Claude Flow using a simple swarm command npx claude-flow swarm "create a python script that prints hello world"

Abbashammoud135 avatar Jul 29 '25 14:07 Abbashammoud135

what's your environment?

ruvnet avatar Jul 29 '25 14:07 ruvnet

My Environment

  • Operating System: Windows 11
  • Terminal: CMD (Command Prompt)
  • Node.js: v22.17.0
  • npm: 10.9.2
  • Claude Flow version: v2.0.0-alpha.77
  • Claude Code version: 1.0.62

Abbashammoud135 avatar Jul 29 '25 14:07 Abbashammoud135

Iโ€™m still having the same problem. Also, the Claude CLI is not being detected, even though I installed it and can see the prompt in other terminals.

npm install -g claude-flow@alpha

added 1 package, and changed 259 packages in 2m

65 packages are looking for funding run npm fund for details

claude-flow --version v2.0.0-alpha.78

claude-flow init ๐Ÿš€ Initializing Claude Flow v2.0.0 with enhanced features... โœ… โœ“ Created CLAUDE.md (Claude Flow v2.0.0) โœ… โœ“ Created .claude directory structure โœ… โœ“ Created .claude/settings.json with hooks and MCP configuration
โœ… โœ“ Created .claude/settings.local.json with default MCP permissions
โœ… โœ“ Created .mcp.json at project root for MCP server configuration
โœ… โœ“ Created claude-flow.config.json for Claude Flow settings โœ“ Created 3 analysis command docs โœ“ Created 3 automation command docs โœ“ Created 3 coordination command docs โœ“ Created 5 github command docs โœ“ Created 5 hooks command docs โœ“ Created 3 memory command docs โœ“ Created 3 monitoring command docs โœ“ Created 3 optimization command docs โœ“ Created 3 training command docs โœ“ Created 3 workflows command docs โœ… โœ“ Created platform-specific wrapper scripts โœ… โœ“ Created 4 helper scripts โœ… โœ“ Created standard directory structure โœ… โœ“ Initialized memory system [2025-07-30T06:32:47.191Z] INFO [memory-store] Initialized SQLite at: C:\Users\User\OneDrive\Desktop\claude.swarm\memory.db [2025-07-30T06:32:47.192Z] INFO [fallback-store] Successfully initialized SQLite store โœ… โœ“ Initialized memory database (.swarm/memory.db) โœ… โœ“ Initialized hive-mind database (.hive-mind/hive.db) โœ… โœ“ Initialized hive-mind system โœ… โœ“ Created .gitignore with Claude Flow entries

๐Ÿš€ Initializing SPARC development environment... ๐Ÿ”„ Running: npx -y create-sparc init --force Creating new SPARC project: unnamed โœ” Project directory created โ ‹ Setting up SPARC structurePackage root: C:\Users\User\AppData\Local\npm-cache_npx\73b3234a5d8a5031\node_modules\create-sparc Root directory: C:\Users\User\AppData\Local\npm-cache_npx\73b3234a5d8a5031\node_modules\create-sparc Project path: C:\Users\User\OneDrive\Desktop\claude Copying .roo from C:\Users\User\AppData\Local\npm-cache_npx\73b3234a5d8a5031\node_modules\create-sparc.roo to C:\Users\User\OneDrive\Desktop\claude.roo Copying .roomodes from C:\Users\User\AppData\Local\npm-cache_npx\73b3234a5d8a5031\node_modules\create-sparc.roomodes to C:\Users\User\OneDrive\Desktop\claude.roomodes โœ” SPARC structure set up โœ” Configuration files generated โœ“ SPARC files (.roo and .roomodes) created successfully in current directory! โœ… โœ… SPARC environment initialized successfully

๐Ÿ“ Creating Claude Code slash commands...

๐Ÿ“ Creating Claude Code slash commands... โœ“ Created slash command: /sparc-architect โœ“ Created slash command: /sparc-code โœ“ Created slash command: /sparc-tdd โœ“ Created slash command: /sparc-debug โœ“ Created slash command: /sparc-security-review โœ“ Created slash command: /sparc-docs-writer โœ“ Created slash command: /sparc-integration โœ“ Created slash command: /sparc-post-deployment-monitoring-mode
โœ“ Created slash command: /sparc-refinement-optimization-mode โœ“ Created slash command: /sparc-ask โœ“ Created slash command: /sparc-devops โœ“ Created slash command: /sparc-tutorial โœ“ Created slash command: /sparc-supabase-admin โœ“ Created slash command: /sparc-spec-pseudocode โœ“ Created slash command: /sparc-mcp โœ“ Created slash command: /sparc-sparc โœ“ Created main slash command: /sparc

โš ๏ธ Claude Code CLI not detected!

๐Ÿ“ฅ To install Claude Code: npm install -g @anthropic-ai/claude-code

๐Ÿ“‹ After installing, add MCP servers: claude mcp add claude-flow npx claude-flow@alpha mcp start
claude mcp add ruv-swarm npx ruv-swarm@latest mcp start

๐Ÿ’ก MCP servers are defined in .mcp.json (project scope)

๐Ÿค– Setting up agent system... โœ… Created 27 agent directories ๐Ÿ“ Using packaged agent files ๐Ÿ“ Copying agent system files... ๐Ÿ“‚ Source: C:\Users\User\AppData\Roaming\npm\node_modules\claude-flow.claude\agents ๐Ÿ“‚ Target: C:\Users\User\OneDrive\Desktop\claude.claude\agents
โœ… Copied 64 agent files ๐Ÿ“‹ Agent system initialized with 64 specialized agents ๐ŸŽฏ Available categories: Core, Swarm, Consensus, Performance, GitHub, SPARC, Testing ๐Ÿ” Agent system validation: โ€ข Categories: 16 โ€ข Total agents: 52 โ€ข Categories: analysis, architecture, consensus, core, data, development, devops, documentation, github, hive-mind, optimization, sparc, specialized, swarm, templates, testing

๐ŸŽ‰ Claude Flow v2.0.0 initialization complete!

๐Ÿ“š Quick Start:

  1. Install Claude Code: npm install -g @anthropic-ai/claude-code
  2. Add MCP servers (see instructions above)
  3. View available commands: ls .claude/commands/
  4. Start a swarm: npx claude-flow@alpha swarm "your objective" --claude
  5. Use hive-mind: npx claude-flow@alpha hive-mind spawn "command" --claude

๐Ÿ’ก Tips: โ€ข Check .claude/commands/ for detailed documentation โ€ข Use --help with any command for options โ€ข Run commands with --claude flag for best Claude Code integration โ€ข Enable GitHub integration with .claude/helpers/github-setup.sh

npm install -g @anthropic-ai/claude-code

changed 2 packages in 2s

1 package is looking for funding run npm fund for details

claude mcp add claude-flow npx claude-flow@alpha mcp start

MCP server claude-flow already exists in local config

claude mcp add ruv-swarm npx ruv-swarm@latest mcp start

MCP server ruv-swarm already exists in local config

npx claude-flow@alpha swarm "create a python script to print hello world" --claude Need to install the following packages: [email protected] Ok to proceed? (y) y

npx claude-flow@alpha swarm "create a python script to print hello world" --claude

NO RESPONSE

Abbashammoud135 avatar Jul 30 '25 06:07 Abbashammoud135

@ruvnet

Abbashammoud135 avatar Jul 30 '25 08:07 Abbashammoud135

Adding my experience here since this completely broke my WSL environment when I updated, so I tried to just run outside of WSL on Windows, and it's a completely broken experience as well. I wanted to start by showing that claude CLI is, in fact, available.


Enter to confirm ยท Esc to exit โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โœป Welcome to Claude Code! โ”‚ โ”‚ โ”‚ โ”‚ /help for help, /status for your current setup โ”‚ โ”‚ โ”‚ โ”‚ cwd: C:\dev\ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โš  Large CLAUDE.md will impact performance (45.4k chars > 40.0k) โ€ข /memory to edit

โš  Found invalid settings files. They will be ignored. Run /doctor for details.

PS C:\dev> claude-flow init --force ๐Ÿš€ Initializing Claude Flow v2.0.0 with enhanced features... โœ… โœ“ Created CLAUDE.md (Claude Flow v2.0.0) โœ… โœ“ Created .claude directory structure โœ… โœ“ Created .claude/settings.json with hooks and MCP configuration โœ… โœ“ Created .claude/settings.local.json with default MCP permissions โœ… โœ“ Created .mcp.json at project root for MCP server configuration โœ… โœ“ Created claude-flow.config.json for Claude Flow settings โœ“ Created 3 analysis command docs โœ“ Created 3 automation command docs โœ“ Created 3 coordination command docs โœ“ Created 5 github command docs โœ“ Created 5 hooks command docs โœ“ Created 3 memory command docs โœ“ Created 3 monitoring command docs โœ“ Created 3 optimization command docs โœ“ Created 3 training command docs โœ“ Created 3 workflows command docs โœ… โœ“ Created platform-specific wrapper scripts โœ… โœ“ Created 4 helper scripts โœ… โœ“ Created standard directory structure โœ… โœ“ Initialized memory system [2025-07-31T02:25:01.044Z] INFO [memory-store] Initialized SQLite at: C:\dev.swarm\memory.db [2025-07-31T02:25:01.045Z] INFO [fallback-store] Successfully initialized SQLite store โœ… โœ“ Initialized memory database (.swarm/memory.db) โœ… โœ“ Initialized hive-mind database (.hive-mind/hive.db) โœ… โœ“ Initialized hive-mind system โœ… โœ“ Updated existing .gitignore with Claude Flow entries

๐Ÿš€ Initializing SPARC development environment... ๐Ÿ”„ Running: npx -y create-sparc init --force โš ๏ธ Could not run create-sparc: execSync is not defined SPARC features will be limited to basic functionality

โš ๏ธ Claude Code CLI not detected!

๐Ÿ“ฅ To install Claude Code: npm install -g @anthropic-ai/claude-code

๐Ÿ“‹ After installing, add MCP servers: claude mcp add claude-flow npx claude-flow@alpha mcp start claude mcp add ruv-swarm npx ruv-swarm@latest mcp start

๐Ÿ’ก MCP servers are defined in .mcp.json (project scope)

๐Ÿค– Setting up agent system... โœ… Created 27 agent directories ๐Ÿ“ Using packaged agent files ๐Ÿ“ Copying agent system files... ๐Ÿ“‚ Source: C:\Users\MyUser\AppData\Roaming\npm\node_modules\claude-flow.claude\agents ๐Ÿ“‚ Target: C:\dev.claude\agents โœ… Copied 64 agent files ๐Ÿ“‹ Agent system initialized with 64 specialized agents ๐ŸŽฏ Available categories: Core, Swarm, Consensus, Performance, GitHub, SPARC, Testing ๐Ÿ” Agent system validation: โ€ข Categories: 16 โ€ข Total agents: 52 โ€ข Categories: analysis, architecture, consensus, core, data, development, devops, documentation, github, hive-mind, optimization, sparc, specialized, swarm, templates, testing โœ… โœ“ Agent system setup complete with 64 specialized agents

๐ŸŽ‰ Claude Flow v2.0.0 initialization complete!

๐Ÿ“š Quick Start:

  1. Install Claude Code: npm install -g @anthropic-ai/claude-code
  2. Add MCP servers (see instructions above)
  3. View available commands: ls .claude/commands/
  4. Start a swarm: npx claude-flow@alpha swarm "your objective" --claude
  5. Use hive-mind: npx claude-flow@alpha hive-mind spawn "command" --claude

๐Ÿ’ก Tips: โ€ข Check .claude/commands/ for detailed documentation โ€ข Use --help with any command for options โ€ข Run commands with --claude flag for best Claude Code integration โ€ข Enable GitHub integration with .claude/helpers/github-setup.sh

My Environment

Operating System: Windows 11 Terminal: Powershell Node.js: v22.17.0 npm: 10.9.2 Claude Flow version: v2.0.0-alpha.78 Claude Code version: 1.0.64

ncosentino avatar Jul 31 '25 02:07 ncosentino

This same behavior happens with WSL from within Powershell on Windows 11.

PS C:\dev> wsl --version
WSL version: 2.4.13.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.4652
PS C:\dev> wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop

Operating System: Windows 11 Terminal: Powershell (running Ubuntu WSL) Node.js: v22.17.0 npm: 10.9.2 Claude Flow version: v2.0.0-alpha.78 Claude Code version: 1.0.64

ncosentino avatar Jul 31 '25 02:07 ncosentino

Please also look into https://github.com/ruvnet/claude-flow/issues/574 and https://github.com/ruvnet/claude-flow/issues/463 We probably need something that shows how installing Claude Code (or Claudia) + Claude Flow as a complete system. What do you think is the cause of this?

BradKML avatar Aug 06 '25 02:08 BradKML

Same problem. No output at all user@DESKTOP-HB9O219:/mnt/d/git/nexus-manager$ npx claude-flow@alpha init --force Need to install the following packages: [email protected] Ok to proceed? (y) npm warn deprecated [email protected]: Use your platform's native DOMException instead user@DESKTOP-HB9O219:/mnt/d/git/nexus-manager$ npm cache clean --force npm warn using --force Recommended protections disabled. user@DESKTOP-HB9O219:/mnt/d/git/nexus-manager$ npx claude-flow@alpha init --force user@DESKTOP-HB9O219:/mnt/d/git/nexus-manager$ npx claude-flow@alpha --help user@DESKTOP-HB9O219:/mnt/d/git/nexus-manager$ npx claude-flow@alpha swarm "build REST API with authentication" --claude

advokat11 avatar Oct 20 '25 14:10 advokat11