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 -yInstall 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-pipClone Neovim Source
bash
mkdir -p ~/src && cd ~/src && \
git clone https://github.com/neovim/neovim.git && \
cd neovim && git checkout stableConfigure Build
bash
make CMAKE_BUILD_TYPE=ReleaseInstall Neovim
bash
sudo make installThis will install neovim into
/usr/local/bin/nvim
Verify Neovim Installation
bash
nvim --versionPlace Neovim on the path
bash
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc && \
source ~/.bashrcInstalling Neovim Kickstart
bash
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim && \
nvimUpdating Neovim
bash
cd ~/src/neovim && \
git pull && \
make CMAKE_BUILD_TYPE=Release && \
sudo make installNext
Kickstart comes with a bunch of ready infrastructure, next I will show you how to construct a modular configuration.