⌨️ANTHROPIC_PROFILE
Also known as ANTHROPIC_PROFILE environment variable
It names the saved profile to sign in with.
Think of it like
It is like you say which of your saved cards to pay with.
Example
Jack has a work profile and a home one saved. He sets this to work in his work folder. Then the right account pays.
Why it matters
One person with two accounts can pick the right one per folder or per script.
Definition
Example code
bash
export ANTHROPIC_PROFILE=work
claudeCommon mistake
Key takeaways
- 1Names a profile. A saved sign-in.
- 2Named, it ranks high. Above /login.
- 3Unnamed, it ranks low. Below /login.