Skip to content

Instantly share code, notes, and snippets.

@phuongthuan
Last active November 3, 2024 15:09
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.

@Lshiroc
Copy link

Lshiroc commented Jul 7, 2024

For windows

You can delete C:\Users\zeyna\AppData\Local\nvim and C:\Users\zeyna\AppData\Local\nvim-data.
If nvim is still available you can check the exact location of neovim from system environment variables and then delete that folder.

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