`claude update` command (and invalid commands) opens REPL instead of attempting update process

Resolved 💬 3 comments Opened Mar 5, 2025 by mmstroik Closed Mar 5, 2025

When running claude update to update Claude Code, the command incorrectly opens the REPL with "update" as the prompt, instead of attempting to run the update process. This happens even though valid commands like claude config ls work correctly. The behavior of claude update currently matches what should happen with claude "update" (opening REPL with a prompt).

Additionally, other non-valid commands without quotes (e.g., claude invalid) also open the REPL with the command as input, rather than displaying an error or help message.

Environment:

  • WSL 2 Ubuntu
  • Bash Windows Terminal
  • Node v22.14.0
  • Claude Code 0.2.30 installed via npm

Feedback ID: 1cd1eeab-54ab-40eb-92b7-0768c74e3127

View original on GitHub ↗

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