Support CLAUDE_CONFIG_DIR environment variable for multiple installations on single machine
Author: kostyayCreated Jul 10, 2025Updated May 13, 2026
Hey
I have multiple claude accounts on my machine.
The way to control it is by setting the CLAUDE_CONFIG_DIR env variable pointing it to a different directory where it would store .claude.
Is there an easy way to support this?
Thanks.
Source: winfunc/opcode