Editor plugins
Avante.nvim
Discuss code with AI in Neovim and apply suggested changes to files.
Install
macOS / Linux · Neovim lazy.nvim plugin configurationConfiguration to paste
- Requires Neovim 0.11 or later.
- The source build needs the dependencies listed by the project.
- Obtain the required API key from the service; keep it in your local configuration.
- Use a macOS or Linux terminal for these commands.
Step 1 · Neovim lazy.nvim plugin configuration
Configuration file ~/.config/nvim/lua/plugins/avante.lua
- Requires Neovim and lazy.nvim. Save the plugin configuration, then run :Lazy sync in Neovim.
return {
{
"yetone/avante.nvim",
build = vim.fn.has("win32") ~= 0
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
event = "VeryLazy",
version = false,
opts = { provider = "claude" },
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
{ "ColinKennedy/mega.cmdparse", dependencies = { "ColinKennedy/mega.logging" } },
},
},
}Step 2 · System terminal
- Use a macOS or Linux terminal for these commands.
- Obtain the required API key from the service; keep it in your local configuration.
- Replace the placeholder values below before running or saving.
Replace these values: YOUR_ANTHROPIC_API_KEY
export ANTHROPIC_API_KEY='YOUR_ANTHROPIC_API_KEY'
nvimStep 3 · Neovim command line (starts with :)
:Lazy sync
:AvanteAskRequirements, costs and detailed steps
Avante.nvim setup documentation
Setup requirements have not been reviewed yet. Check the project’s setup guide.
Based on public documentation; not individually installed and tested here.
What is Avante.nvim?
Avante.nvim is for developers who prefer Neovim and want AI assistance without leaving that editor. It can answer questions about the current code, suggest changes, and apply those suggestions to source files. Follow the plugin guide to prepare Neovim dependencies and a model connection, then review changes within your usual development workflow.
Avante.nvim use cases
- Ask questions about the current code
- Apply AI-suggested changes to source files
- Prepare Neovim dependencies and the model connection
Official project & documentation
Alternatives to Avante.nvim for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- Cline — Use AI in your editor to read a project, edit files, and run development commands.
- Kilo Code — Use AI coding in VS Code or JetBrains with your chosen models and tools.
- CodeCompanion.nvim — Chat, edit code, and connect models or coding agents inside Neovim.