Problem
Several warning and error messages reference npm install -g @anthropic-ai/claude-code as the install method for Claude Code CLI. Claude Code now distributes as a native binary and the primary install method is via the install script or platform package managers.
Affected Locations
claude-task-master:
src/ai-providers/claude-code.js:88 - CLI detection warning
src/ai-providers/claude-code.js:150 - CLI initialization error
packages/tm-core/src/modules/loop/services/loop.service.ts:589 - Loop service error
docs/examples/claude-code-usage.md:63-65 - Documentation
ai-sdk-provider-claude-code (separate repo):
examples/README.md:12
examples/basic-usage.ts:61
examples/check-cli.ts:33,39
Current Message
Claude Code CLI not detected. Install it with: npm install -g @anthropic-ai/claude-code
Expected
Install instructions should reference the current primary install method and/or link to official documentation. The npm install method still works but is no longer the primary distribution channel.
Proposed Fix
Update messages to reference https://docs.anthropic.com/en/docs/claude-code/overview or the install script curl -fsSL https://claude.ai/install.sh | bash.
Problem
Several warning and error messages reference
npm install -g @anthropic-ai/claude-codeas the install method for Claude Code CLI. Claude Code now distributes as a native binary and the primary install method is via the install script or platform package managers.Affected Locations
claude-task-master:
src/ai-providers/claude-code.js:88- CLI detection warningsrc/ai-providers/claude-code.js:150- CLI initialization errorpackages/tm-core/src/modules/loop/services/loop.service.ts:589- Loop service errordocs/examples/claude-code-usage.md:63-65- Documentationai-sdk-provider-claude-code (separate repo):
examples/README.md:12examples/basic-usage.ts:61examples/check-cli.ts:33,39Current Message
Expected
Install instructions should reference the current primary install method and/or link to official documentation. The
npm installmethod still works but is no longer the primary distribution channel.Proposed Fix
Update messages to reference
https://docs.anthropic.com/en/docs/claude-code/overviewor the install scriptcurl -fsSL https://claude.ai/install.sh | bash.