Skip to content
Agent Gateway
CLI

CLI configuration

Understand local credentials, endpoint overrides, and debugging preferences.

Most users need only edgee auth login and edgee settings. Use overrides when your administrator supplies a private gateway or a diagnostic configuration.

Profiles and credentials

The CLI stores profile configuration and credentials in ~/.config/edgee/credentials.toml. Keep the file private. Use profile commands rather than copying credentials between machines or editing a stale example file.

Environment overrides

VariablePurpose
EDGEE_API_URLOverride the gateway endpoint used for model traffic
EDGEE_CONSOLE_URLOverride the console used for browser authentication
EDGEE_CONSOLE_API_URLOverride the management API endpoint
EDGEE_MCP_URLOverride the Edgee MCP endpoint
EDGEE_NO_UPDATE_CHECKDisable the automatic update check

Gateway URL resolution uses an environment override first, then the profile override, then the organization's gateway configuration, then the default. Ask your administrator for the endpoint appropriate to your deployment.

EDGEE_API_URL=https://gateway.example.com edgee launch claude

This example changes the endpoint for one shell command. It does not deploy a gateway. Follow Self-hosting for deployment and authentication requirements.

Confirm an override

Launch one request and verify it in the intended gateway's logs and console. If traffic appears in the wrong environment, check exported environment variables and the active profile before changing organization settings.

To return to the default in a POSIX shell, use unset EDGEE_API_URL and review any persisted profile override. On PowerShell, use Remove-Item Env:EDGEE_API_URL for the process environment.