Skip to content

Instantly share code, notes, and snippets.

@phuongthuan
Last active June 9, 2024 12:36
Show Gist options
  • Save phuongthuan/5c7671a9a9f727524dc167448f160a6b to your computer and use it in GitHub Desktop.
Save phuongthuan/5c7671a9a9f727524dc167448f160a6b to your computer and use it in GitHub Desktop.
How to Install, Uninstall and Upgrade Neovim to lastest or specific version

How to install, uninstall and upgrade Neovim

Step to install

  1. Chose Neovim version under Assets section (ex: NVIM v0.7.0)
  2. Download nvim-macos.tar.gz
  3. Extract: tar xzvf nvim-macos.tar.gz
  4. Run ./nvim-osx64/bin/nvim

Check current installed Neovim

~/nvim-linux64/bin/nvim -v

Set an alias for easy access

alias nvim='~/nvim-linux64/bin/nvim'

Now we can use nvim

nvim -v

Install

brew install neovim

Or install the development version of Nvim:

brew install --HEAD neovim

To update the development version of Nvim:

brew reinstall neovim

Use

nvim 

Note: the program name is nvim (not neovim)

In nvim, run :CheckHealth. It checks for common problems and best practices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment