Skip to content

Firsthand.today

How to move Claude Code data and npm cache to the D: drive on Windows

Summary

Claude Code user data in C:\Users\<name>\.claude and the npm cache in AppData\Local\npm-cache can fill up the C: drive even when projects live on D:. The guide moves both to D: and links the .claude folder back with a junction, so no reinstall is needed.

Was this useful to you?