Sunday, July 2, 2023

Step by Step Installation of Aider AI Code Assistant with Commands

 This video introduce Aider AI coding assistant which enables you to write and edit code with OpenAI's GPT models. It nicely integrates with Git. It also shows you how to install ctags for more code context for LLM. 




Commands:


Steps to Install Ctags:


    $ git clone https://github.com/universal-ctags/ctags.git

    $ cd ctags

    $ ./autogen.sh

    $ ./configure --prefix=/where/you/want # defaults to /usr/local

    $ make

    $ make install # may require extra privileges depending on where to install


Steps to Install Aider:


$ pip install aider-chat

$ export OPENAI_API_KEY=your-key-goes-here

$ aider myapp.py



No comments: