Installation
The installation has two parts:
Setting Up neovim
If you already have neovim
installed on your machine, feel free to skip this step.
- Select the
neovim
version
neovim version | Command |
---|---|
v0.9.x | NVIM_VERSION=v0.9.5 |
v0.10.x | NVIM_VERSION=v0.10.3 |
For other versions, please refer to neovim’s releases page.
- Install
neovim
from pre-compiled binary
wget https://github.com/neovim/neovim/releases/download/"${NVIM_VERSION}"/nvim-linux64.tar.gz
rm -rf /usr/local/nvim-linux64 && tar -C /usr/local -zxvf nvim-linux64.tar.gz # as root
- Setting up the
$PATH
variable
Bash
-
echo 'PATH=/usr/local/nvim-linux64/bin:$PATH' >> $HOME/.bashrc source $HOME/.bashrc
-
Zsh
-
echo 'PATH=/usr/local/nvim-linux64/bin:$PATH' >> $HOME/.zshrc source $HOME/.zshrc
-
- Check the
neovim
version
nvim --version
Setting Up the Config
mkdir -p $HOME/.config/nvim \
&& git clone https://github.com/kevinliao852/my-nvim-config.git $HOME/.config/nvim/
After setting up the config, type nvim
on the terminal and wait a few seconds to have plugins installed.