[BUG] /rewind does not work natively on Windows (powershell)
Status Fixed / completed
Maintainer reply ✓ Yes — hackyon-anthropic
Activity 11 comments · opened Oct 3, 2025 · closed Oct 6, 2025
💡 Likely answer: A maintainer (hackyon-anthropic, collaborator)
responded on this thread — see the highlighted reply below.
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?
/rewind slash command on Windows doesn't return the code to the selected point
What Should Happen?
/rewind slash command on Windows reverts the code to the selected point, as stated in the CC documentation
Error Messages/Logs
Steps to Reproduce
Start claude code in interactive mode, do some code changes via multiple prompts, try to /rewind and select a previous point. CC won't revert the code changes.
Claude Model
Other
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.5 (Claude Code)
Platform
Other
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
11 Comments
hey @nikitakot - is this consistently reproducible for you? Are you running in WSL (or WSL2) or native (git bash)?
if you're running in WSL, any chance you can run
claude -d2e 2> >(grep -i FileHistory > rewind.log)to get the logs while you try and reproduce the issue? you can checkrewind.logfirst to make sure there's no sensitive info before sharing the logs@hackyon-anthropic no, i'm running natively on Windows, Powershell Core via Windows Terminal with git bash. It's consistent.
Can you provide a repro video or the logs with
claude -d2e 2> >(grep -i FileHistory > rewind.log)? I'm not able to repro, and this is the first report of it not working.Also, do you see a confirmation dialog that asks you if you want to restore both
code and conversation?@hackyon-anthropic
no, i don't
will collect when i'll be near the PC, but this command you provided will obviously not work, I'm running claude in powershell, the command is shell syntax, just making sure we're on the same page
Sounds like it hasn't been enabled for you yet. The feature is behind a flag, so if you are on Bedrock/Vertex or otherwise have network traffic blocker or proxy set up, then it could have trouble updating the flag.
I'll be removing the flag this week and it should just be enabled regardless of whatever setup you may have
@hackyon-anthropic how can i force refresh these feature flags? i tried now my setup in an isolated environment and /rewind works as expected, but it doesn't work on my main machine
@hackyon-anthropic does
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICsomehow affects these feature flags?This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
@nikitakot
Yup, the
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICshould block it. With that said, I took out the flags now and it should work as soon as you update!