From 0b9aac534895ebfcb8f77181903ad339a511e74d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 2 Jul 2024 18:59:18 -0300 Subject: [PATCH] copy --- website/docs/install/optional.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/website/docs/install/optional.md b/website/docs/install/optional.md index 846642d93..34c4df8a9 100644 --- a/website/docs/install/optional.md +++ b/website/docs/install/optional.md @@ -12,20 +12,10 @@ The steps below are completely optional. {:toc} -## Store your api key - -You can place your api key in an environment variable: - -* `export OPENAI_API_KEY=sk-...` on Linux or Mac -* `setx OPENAI_API_KEY sk-...` in Windows PowerShell - -Or you can create a `.aider.conf.yml` file in your home directory. -Put a line in it like this to specify your api key: - -``` -openai-api-key: sk-... -``` +## Store your api keys +You can place your [api keys in a `.env` file](/docs/config/dotenv.html) +and they will be loaded automatically whenever you run aider. ## Enable Playwright