[BUG] On linux using claude code in the terminal of the vscode when using the /memory command it breaks

Resolved 💬 2 comments Opened Mar 14, 2026 by JordiParraCrespo Closed Apr 12, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The /memory command breaks on linux, vscode and claude code in the IDE terminal
<img width="609" height="537" alt="Image" src="https://github.com/user-attachments/assets/f3ca94be-9578-477b-be46-dfc80de9ec42" />

What Should Happen?

Work

Error Messages/Logs

Steps to Reproduce

  1. Open vscode in linux
  2. Open claude code
  3. Try to update the memory

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.76

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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