Use direct 'claude' command instead of npx

- Changed from 'npx @anthropic-ai/claude-code' to 'claude'
- This assumes Claude Code is installed globally with npm install -g
- Updated ralph_loop.sh, ralph_import.sh, and README.md
- Much cleaner and faster execution without npx overhead
This commit is contained in:
frankbria 2025-08-27 16:18:17 -07:00
parent b987d8226d
commit 9a1124aa4c
3 changed files with 3 additions and 3 deletions

View file

@ -225,7 +225,7 @@ my-project/
## 🔧 System Requirements
- **Bash 4.0+** - For script execution
- **Claude Code CLI** - `npx @anthropic-ai/claude-code`
- **Claude Code CLI** - `npm install -g @anthropic-ai/claude-code`
- **tmux** - Terminal multiplexer for integrated monitoring (recommended)
- **jq** - JSON processing for status tracking
- **Git** - Version control (projects are initialized as git repos)

View file

@ -4,7 +4,7 @@
set -e
# Configuration
CLAUDE_CODE_CMD="npx @anthropic-ai/claude-code"
CLAUDE_CODE_CMD="claude"
# Colors
RED='\033[0;31m'

View file

@ -10,7 +10,7 @@ PROMPT_FILE="PROMPT.md"
LOG_DIR="logs"
DOCS_DIR="docs/generated"
STATUS_FILE="status.json"
CLAUDE_CODE_CMD="npx @anthropic-ai/claude-code"
CLAUDE_CODE_CMD="claude"
MAX_CALLS_PER_HOUR=100 # Adjust based on your plan
SLEEP_DURATION=3600 # 1 hour in seconds
CALL_COUNT_FILE=".call_count"