-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Initially I used Claude Code on WSL and it worked perfectly, but something happened (CC may have automatically migrated my install to using "native Windows with Git Bash" as per the website) and now for my new projects it can't find Claude Code on Path even though it is on path (C:\Users\zz\AppData\Roaming\npm).
I have tried re-installing Claude Code and rins_hooks but still no difference.
H:\Code\Projects\xx\yy> npm install -g @anthropic-ai/claude-code
changed 1 package in 3s
H:\Code\Projects\xx\yy> npm install -g rins_hooks
added 94 packages in 4s
28 packages are looking for funding
run `npm fund` for details
H:\Code\Projects\xx\yy> rins_hooks install auto-commit notification
🔧 Rins Hooks Installer
📦 Installing hooks: auto-commit, notification
🔍 Checking requirements...
✅ git is available
📍 Installation scope: project
📋 Backup created: H:\Code\Projects\xx\yy\.claude\settings.json.backup.1753652101124
🔧 Installing auto-commit...
✅ auto-commit installed successfully
Event: PostToolUse
Matcher: Edit|Write|MultiEdit
Command: node "C:\Users\zz\AppData\Roaming\npm\node_modules\rins_hooks\hooks\auto-commit\index.js"
🔧 Installing notification...
✅ notification installed successfully
Event: Notification
Matcher: (all)
Command: node "C:\Users\zz\AppData\Roaming\npm\node_modules\rins_hooks\hooks\notification\index.js"
✅ All hooks installed successfully!
H:\Code\Projects\xx\yy> rins_hooks status
📊 Installation Status
ℹ️ No hooks installed.
Run `rins_hooks install --interactive` to get started.
H:\Code\Projects\xx\yy> rins_hooks doctor
🔍 Rins Hooks Doctor
✅ Node.js Version: Node.js v22.17.0 (✓ >= 16.0.0)
❌ Claude Code Installation: Claude Code not found in PATH
✅ Git Installation: Git is available
✅ Git Repository: Repository found at H:/Code/Projects/xx/yy
✅ Claude Settings Directory: C:\Users\zz\.claude (writable)
✅ Claude User Settings: Valid JSON configuration found
✅ Claude Project Settings: Valid JSON configuration found
⚠️ jq Tool: Not available (optional, useful for hook development)
❌ Some issues found. Please address them before using rins_hooks.```Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels