This was once true, I think, but it is no longer true. If you set an API key in your environment, Claude Code will work.
This did not when I tried it a few days ago but I also noticed it lets you use your API key after logging in through the web interface. I'll need to try again, really annoying that you can't just set $ANTHROPIC_API_KEY and have it work
This did not when I tried it a few days ago but I also noticed it lets you use your API key after logging in through the web interface. I'll need to try again, really annoying that you can't just set $ANTHROPIC_API_KEY and have it work