# 03. How to install Codeium on Neovim

Codeium is an alternative to GitHub Copilot with the caveat that it is free for individuals. I rate Codeium very positively and Copilot is equal to it.

Installation using plug.vim is easy, you just need to edit your `init.vim`.

Paste in:

    " Free AI codium
    Plug 'Exafunction/codeium.vim', { 'branch': 'main' }

The resulting init.vim will look like this:

    call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
    " Free AI codium
    Plug 'Exafunction/codeium.vim', { 'branch': 'main' }
    call plug#end()

And we restart Neovim. Type `q` at the command prompt with `Ctrl + :` and restart Neovim.

After rebooting, we do a `PlugInstall` and reboot Neovim once more.

The last step will be to set the Codeium configuration, by typing `CodeiumEnable` into the command line.

Codium will prompt you to connect the API to the Codium server.

And everything should work for you.

Copyright © 2024 - 2025 ApolloNvim