This commit is contained in:
Paul Gauthier 2023-06-08 18:56:04 -07:00
parent fc527ef2cf
commit 78b6c7602e

View file

@ -77,13 +77,13 @@ with GPT-3.5, again because of the smaller context window.
## Installation
1. Install the package:
* PyPI: `pip install aider-chat`
* GitHub: `pip install git+https://github.com/paul-gauthier/aider.git`
* Local clone: `pip install -e .`
* PyPI: `pip install aider-chat`
* GitHub: `pip install git+https://github.com/paul-gauthier/aider.git`
* Local clone: `pip install -e .`
2. Set up your OpenAI API key:
* As an environment variable: `export OPENAI_API_KEY=sk-...`
* Or, by including `openai-api-key: sk-...` in an `.aider.config.yml` file
* As an environment variable: `export OPENAI_API_KEY=sk-...`
* Or, by including `openai-api-key: sk-...` in an `.aider.config.yml` file
3. Optionally, install [universal ctags](https://github.com/universal-ctags/ctags). This is helpful if you plan to use aider and GPT-4 with repositories that have more than a handful of files. This allows aider to build a [map of your entire git repo](https://aider.chat/docs/ctags.html) and share it with GPT to help it better understand and modify large codebases.