Repository navigation
How can I install rtk into a non-default ~/home/.claude/ folder? #1883
|
Claude Code allows custom folders and I use them to separate accounts, how can I install them on it without copy paste the files? Is it possible? Please, consider support this env-var: |
Replies: 1 comment
|
Supported now. This was added after the question in commit Current releases honor CLAUDE_CONFIG_DIR="$HOME/.claude-account-a" \
rtk init -g --agent claude --dry-run
CLAUDE_CONFIG_DIR="$HOME/.claude-account-a" \
rtk init -g --agent claudeNo file copying needed. Use absolute path when switching accounts from different working directories; Resolution order in current source is Lines 2837 to 2853 in 8a24ce2 The fix is included by |
Supported now. This was added after the question in commit
05de9d3: 05de9d3Current releases honor
CLAUDE_CONFIG_DIRfor global Claude paths. Point it directly at custom directory that replaces~/.claude:No file copying needed. Use absolute path when switching accounts from different working directories;
CLAUDE_CONFIG_DIR=.is valid only when command always runs from intended config directory.Resolution order in current source is
CLAUDE_CONFIG_DIR, then$HOME/.claude; empty override falls back to home:rtk/src/hooks/init.rs
…