claude-code - 💡(How to fix) Fix [FEATURE] Profiles for different setup. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52837Fetched 2026-04-25 06:19:34
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Every day I MUST switch between API usage with custom base url with api token with pay per token and simple Max plan.

Proposed Solution

I'd like to be able to run "claude --profile-work" to work wth custom setting and "claude --profile-home" to use my personal account with Max subscription.

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

extent analysis

TL;DR

Implementing profile-based switching for CLI commands could simplify the daily switch between custom API settings and Max plan subscriptions.

Guidance

  • Investigate adding a --profile flag to the claude command to support multiple profiles, such as --profile-work and --profile-home.
  • Consider storing profile settings, including custom base URLs and API tokens, in a configuration file or environment variables.
  • Evaluate the feasibility of automatically switching between profiles based on the user's context, such as their current working directory or environment.
  • Review the existing codebase to determine the best approach for implementing profile-based switching, potentially involving modifications to the command-line argument parsing and configuration loading logic.

Notes

The implementation details will depend on the specific requirements and constraints of the claude command and its underlying architecture.

Recommendation

Apply workaround: Implementing a profile-based switching mechanism, as it directly addresses the user's need to switch between different settings on a daily basis.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Profiles for different setup. [1 comments, 2 participants]