Skip to content

Setting up Aider

Setting up environment variables

Do the following depending on your operating system

Windows

Open up powershell, and do the following command:

Terminal window
$Env:OPENAI_API_BASE = 'https://api-stg.boxchat.ai'
$Env:OPENAI_API_KEY = <key>

Alternatively you can also use these commands:

Terminal window
setx OPENAI_API_BASE 'https://api-stg.boxchat.ai'
setx OPENAI_API_KEY <key>

This will now set up the environment variables for Aider.

Mac/Linux

Open up the terminal:

Terminal window
export OPENAI_API_BASE='https://api-stg.boxchat.ai'
export OPENAI_API_KEY=<key>

Running Aider

Now you’ll have to use the following command:

Terminal window
aider --model openai/<model-name>

Where model-name is from our list of models.

On first load this will take a bit, but afterwards will be immediate.