This is a Dockerfile and an example how to alias aider, to avoid python lib conflicts. Original @ https://github.com/paul-gauthier/aider, please check there for all usage docs.
See the installation instructions and other documentation for more details.
$ pip install aider-chat
First build local image
./build.sh
Now you can use the command to run. Please either use ANTHROPIC_API_KEY or OPENAI_API_KEY. You need to set one of them with 'export ANTHROPIC_API_KEY=' before.
docker run -it --rm \
-v $(PWD):/app \
-e ANTHROPIC_API_KEY \
-e OPENAI_API_KEY \
aider-image
alias aider='docker run -it --rm -v $(PWD):/app -e ANTHROPIC_API_KEY -e OPENAI_API_KEY aider-image'
- Change directory into a git repo:
$ cd /to/your/git/repo
- Work with Claude 3.5 Sonnet on your repo:
$ export ANTHROPIC_API_KEY=your-key-goes-here
$ aider
- Work with GPT-4 on your repo:
$ export OPENAI_API_KEY=your-key-goes-here
$ aider
See the installation instructions and other documentation for more details.
- Add images to the chat (GPT-4, Claude 3.5 Sonnet, etc)
- Add URLs to the chat and aider will read their content
- Code with your voice