Neovim install

From wikinotes

Documentation

build instructions https://github.com/neovim/neovim/wiki/Building-Neovim

Stable Releases

Stable releases versioning are nvim --version # v0.6.0

# release
pacman -S neovim
pkg install neovim
brew install neovim

Nightly

NOTE:

I've mostly been using neovim nightly for nvim-treesitter, but it now works well enough with the latest nvim release that the nightly releases aren't worth the effort

nightly releases use the same version scheme with a -dev suffix: nvim --version # v0.7.0-dev

# ================================================================
# nix w/ nix-flakes:  
# https://github.com/neovim/neovim/wiki/Building-Neovim#nixos--nix
# ================================================================
# experimental way (has issues for me)
nix run \
  'github:neovim/neovim?dir=contrib'

# works for me
DIRENV_DIR=/dev/null `# my direnv hook ignores direnv if environment already loaded` \
  nix-shell \
  -p 'github:neovim/neovim?dir=contrib' \
  --command nvim

# =========
# archlinux
# =========
pacaur -S neovim-nightly-bin

# =====
# macos
# =====
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz \
  && tar -xzf nvim-macos.tar.gz \
  && rsync -avz --delete nvim-osx64/* ~/opt/

Compiling