kickstart.nvim

Finally, in that folder lets create the new configuration file:

touch init.lua

If you plan to create your own configuration you can proceed to the next section. If you plan to use kickstart.nvim it is time to copy the configuration. Start by opening the file we just created:

Before we get started, take a quick browse through the kickstart.nvim documentation and install and dependencies. For example, kickstart.nvim installs telescope.nvim which depends on ripgrep so if that is not already installed follow through the instructions to install that.

After the dependencies are installed, open your configuration file:

nvim init.lua

then execute the following command to insert the configuration into your file:

:read !curl -s
'https://raw.githubusercontent.com/nvim-lua/kickstart.nvim/refs/heads/master/init.lua'

If you don't have curl on your machine you can navigate your browser to kickstart.nvim's init.lua file and copy and paste the content.

Now save the file and exit using :wq, then open Neovim again. If everything is working, Neovim should start downloading and installing plugins.

When this is done you can run:

:checkhealth

to check the installation and resolve any issues. You can also refer to the debugging section for tips on how to resolve some common issues that arise.

Congratulations, at this point you should have a working Neovim configuration with all of the common plugins.