There are two ways to authenticate with the E2B CLI:
Option 1: Browser Authentication
This option requires an interactive browser environment.
Run the following command to sign in through your browser:
This will open your default browser and prompt you to authenticate with your E2B account.
Option 2: Setup Environment Variables
Set your environment variables:
export E2B_API_KEY=your_api_key_here
export E2B_ACCESS_TOKEN=your_acces_token_here
Learn more about obtaining and managing your API key and access token on the API Key page.