[Bug] CLI startup latency significantly higher than interactive mode

Resolved 💬 4 comments Opened Feb 27, 2026 by mightymatth Closed Mar 30, 2026

Bug Description

➜  ~ time claude --model haiku -p "hi"    
Hey! How can I help you today? Whether you need to work on code, debug something, explore a project, or anything else development-related, I'm ready to assist.
claude --model haiku -p "hi"  2.19s user 0.90s system 4% cpu 1:08.72 total

did someone put sleep 60 on the start?
it works fine when i open claude and type hi.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.62
  • Feedback ID: b490bd95-3010-4662-89e2-49a9a68fea4f

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/.../.local/share/claude/versions/2.1.62 (expected in multi-process scenarios)\n    at DVR (/$bunfs/root/claude:2441:2098)\n    at qkA (/$bunfs/root/claude:2441:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-27T12:18:54.436Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗