Skip to content

Install Neovim & Kickstarter on WSL2 +

For the most part, this will work on linux as well.

Obtain Neovim

Update your system
bash
sudo apt update -y \
sudo apt upgrade -y
Install Build Dependencies
bash
sudo apt install -y \
  git \
  ninja-build \
  gettext \
  cmake \
  unzip \
  curl \
  build-essential \
  pkg-config \
  libtool \
  libtool-bin \
  autoconf \
  automake \
  python3 \
  python3-pip
Clone Neovim Source
bash
mkdir -p ~/src && cd ~/src && \
git clone https://github.com/neovim/neovim.git && \
cd neovim && git checkout stable
Configure Build
bash
make CMAKE_BUILD_TYPE=Release
Install Neovim
bash
sudo make install

This will install neovim into /usr/local/bin/nvim

Verify Neovim Installation
bash
nvim --version
Place Neovim on the path
bash
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc && \
source ~/.bashrc

Installing Neovim Kickstart

bash
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim && \
nvim

Updating Neovim

bash
cd ~/src/neovim && \
git pull && \
make CMAKE_BUILD_TYPE=Release && \
sudo make install

Next

Kickstart comes with a bunch of ready infrastructure, next I will show you how to construct a modular configuration.