I recommend installing from Homebrew on most distributions, it usually has the most recent stable version. pacman
will also work in place of Homebrew.
Nightly
There is also a nightly version, although it must be compiled from source. This can be done manually, but I recommend using a package manager like Homebrew or an AUR helper. For example, using Homebrew:
brew install neovim --HEAD
Another example using yay
:
yay -S neovim-git
IMPORTANT!! Before you install anything, make sure you have a Nerd Font. At the time of writing, I use JetBrains Mono.
- Basic utils:
git
,unzip
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
- Used to sync clipbord with neovim
- Wayland needs
wl-clipboard
- CMake or
make
fd
gcc
- Any C compiler will technically work, but most of my work is done on macOS and Linux, so it's easier for me to just install
gcc
on Windows.
- Any C compiler will technically work, but most of my work is done on macOS and Linux, so it's easier for me to just install
- NodeJS, NPM, and Yarn (use a version manager like fnm)
npm i -g yarn
- Although very few of them actually specify this, NPM is needed to install most language servers.
ripgrep
rustup
with nightly toolchainrustup toolchain install nightly
- For building
blink.cmp
from source
Choosing to use gcc
and make
won't require changing the config to work on Windows.
The easiest way is to use choco
:
- install chocolatey; either follow the instructions on the page or use
winget
as admin:
winget install --accept-source-agreements chocolatey.chocolatey
- install all requirements using
choco
, exit previous terminal and open a new one so thatchoco
path is set, and run the following as admin:
choco install -y neovim git ripgrep wget fd unzip gzip mingw make