sk-xxxxxxxxxxxxxxxx | Enter the console key |https://www.rezeai.com | Do not include the /v1 suffix |node --version to check your current environment.Claude Code successfully installed!.claude and receive a "command not found" error, it means the installation path was not automatically added to the environment variables.C:\Users\your username\.local\bin to the current user's Path variable, and then restart PowerShell.claude every time you open the Terminal, without having to type code to set variables each time, please configure the system's global environment variables:ANTHROPIC_AUTH_TOKEN corresponding to your Key; and ANTHROPIC_BASE_URL corresponding to https://api.rezeai.com. Restart the terminal after configuration.export statement to your ~/.zshrc or ~/.bashrc file and execute source ~/.zshrc.claude in the terminal with the environment variables set and press Enter:sk-... key you entered may have been exhausted. Recharge your account.
- (You can replace gpt-5.4 with any of the numerous models supported in the console)
Q2: Why am I still getting the message "Not logged in / Please run /login"?
- Check if the variable name is ANTHROPIC_AUTH_TOKEN.
- Most common reason: Environment variables only take effect in a single window. You might have set the variable in window A, but then run Claude in a new window B. Please ensure you operate within the same window.
Q3: Should I include /v1 in the Base URL?
- Do not include /v1. Under the current RezeAI interface specifications and the new logic of the Claude Code, please strictly enter https://api.rezeai.com.
Q4: What if I accidentally entered /login?
- /login is used to log in to the official Anthropic account. If you are using RezeAI, please do not use this command. If you accidentally enter the login screen, simply press the Esc key to exit; the system will automatically return and read your environment variables.