Installing Neovim

Jerson Zúñiga edited this page Feb 18, 2019 · 216 revisions

You can install Neovim from download, package, or source in just a few seconds.

  • To start Neovim, run nvim (not neovim).
  • Before upgrading to a new version, check Following HEAD.
  • For config (vimrc) see the FAQ.

Install from download

Downloads are available on the Releases page.

Install from package

Packages are listed below. (You can also build Neovim from source.)



  • Release (v0.3): choco install neovim (use -y for automatically skipping confirmation messages)
  • Development (pre-release): choco install neovim --pre


  • scoop install neovim

Pre-built archives

  1. Choose a package ( from the releases page.
  2. Unzip the package. Any location is fine, administrator privileges are not required.
    • $VIMRUNTIME will be set to that location automatically.
  3. Double-click nvim-qt.exe.

Optional steps:

  • Add the bin folder (e.g. C:\Program Files\nvim\bin) to your PATH.
    • This makes it easy to run nvim and nvim-qt from anywhere.
  • If you are missing VCRUNTIME140.dll, install the Visual Studio 2015 C++ redistributable (choose x86_64 or x86 depending on your system).
  • If :set spell does not work, create the C:/Users/foo/AppData/Local/nvim/site/spell folder. You can then copy your spell files over (for English, located here and here);
  • For Python plugins you need the pynvim module. "Virtual envs" are recommended. After activating the virtual env do pip install pynvim (in both). Edit your init.vim so that it contains the path to the env's Python executable:
    let g:python3_host_prog='C:/Users/foo/Envs/neovim3/Scripts/python.exe'
    let g:python_host_prog='C:/Users/foo/Envs/neovim/Scripts/python.exe'
    • Run :checkhealth and read :help provider-python.
  • init.vim ("vimrc"): If you already have Vim installed you can copy %userprofile%\_vimrc to %userprofile%\AppData\Local\nvim\init.vim to use your Vim config with Neovim.

macOS / OS X

Pre-built archives

The Releases page provides pre-built binaries for macOS 10.8+.

curl -LO
tar xzf nvim-macos.tar.gz

Homebrew (macOS) / Linuxbrew (Linux)

brew install neovim

Or install the development version of Nvim:

brew install --HEAD neovim


sudo port selfupdate
sudo port install neovim


AppImage ("universal" Linux package)

The Releases page provides an AppImage that runs on most Linux systems. No installation is needed, just download nvim.appimage and run it. (It might not work if your Linux distribution is more than 4 years old.)

curl -LO
chmod u+x nvim.appimage

Arch Linux

Neovim can be installed from the community repository:

sudo pacman -S neovim

Alternatively, Neovim can be also installed using the PKGBUILD neovim-git, available on the AUR.

The Python module is available from the community repository:

sudo pacman -S python-neovim

Python 2 and Ruby modules (currently only supported in neovim-git) are available from the AUR as python2-neovim and ruby-neovim respectively.

CentOS 7 / RHEl 7 with epel

sudo rpm -ivh epel-release-latest-7.noarch.rpm
sudo yum --enablerepo=epel install neovim

CentOS 7 / RHEL 7

yum -y install epel-release
curl -o /etc/yum.repos.d/dperson-neovim-epel-7.repo 
yum -y install neovim

It's built using the Copr automated build system, which is unsupported. There's no guarantee of how long the package will be available.


A CRUX port is available under 6c37/neovim, along with ports for other dependencies of Neovim.

For instructions on how to install the Python modules, see :help provider-python.


Neovim is in Debian.

sudo apt-get install neovim

Python (:python) support is installable via the package manager on Debian unstable.

sudo apt-get install python-neovim
sudo apt-get install python3-neovim

Exherbo Linux

Exhereses for scm and released versions are currently available in repository ::medvid. Python client (with GTK+ GUI included) and Qt5 GUI are also available as suggestions:

cave resolve app-editors/neovim --take dev-python/neovim-python --take app-editors/neovim-qt


Neovim is in Fedora starting with Fedora 25:

dnf -y install neovim
dnf -y install python2-neovim python3-neovim

Fedora 24 and older

dnf -y copr enable dperson/neovim
dnf -y install neovim
dnf -y install python3-neovim python3-neovim-gui


You can find Neovim on Flathub. Providing you have Flatpak set up:

flatpak install flathub io.neovim.nvim
flatpak run io.neovim.nvim

You can add /var/lib/flatpak/exports/bin (or ~/.local/share/flatpak/exports/bin if you used --user) to the $PATH and run it with io.neovim.nvim.

Note that Flatpak'ed Neovim will look for init.vim in ~/.var/app/io.neovim.nvim/config/nvim instead of ~/.config/nvim.

Gentoo Linux

An ebuild is available in Gentoo's official portage repository:

emerge -a app-editors/neovim

Nix / NixOS

Neovim can be installed with:

nix-env -iA nixpkgs.neovim

To install the Python modules:

nix-env -iA nixpkgs.python3Packages.neovim

Replace python3 with python2 for the python 2 packages.

Mageia 7

urpmi neovim

To install the Python modules:

urpmi python2-pynvim python3-pynvim


Neovim can be installed with:

sudo zypper in neovim

To install the Python modules:

sudo zypper in python-neovim python3-neovim

PLD Linux

Neovim is in PLD Linux:

poldek -u neovim
poldek -u python-neovim python3-neovim
poldek -u python-neovim-gui python3-neovim-gui


See neovim on SlackBuilds.

For instructions on how to install the Python modules, see :help provider-python.

Source Mage

Neovim can be installed using the Sorcery package manager:

cast neovim


Neovim can be installed using the default package manager in Solus (eopkg):

sudo eopkg install neovim


Neovim has been added to a "Personal Package Archive" (PPA). This allows you to install it with apt-get. Follow the links to the PPAs to see which versions of Ubuntu are currently available via the PPA. Choose stable or unstable:

To be able to use add-apt-repository you may need to install software-properties-common:

sudo apt-get install software-properties-common

If you're using an older version Ubuntu you must use:

sudo apt-get install python-software-properties

Run the following commands:

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim

Prerequisites for the Python modules:

sudo apt-get install python-dev python-pip python3-dev python3-pip

If you're using an older version Ubuntu you must use:

sudo apt-get install python-dev python-pip python3-dev
sudo apt-get install python3-setuptools
sudo easy_install3 pip

For instructions to install the Python modules, see :help provider-python.

If you want to use Neovim for some (or all) of the editor alternatives, use the following commands:

sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editor

Note, however, that special interfaces, like view for nvim -R, are not supported. (See #1646 and #2008.)


Neovim can be installed using the xbps package manager

sudo xbps-install -S neovim



Neovim can be installed using pkg(8):

pkg install neovim

or from the ports tree:

cd /usr/ports/editors/neovim/ && make install clean


Neovim can be installed using pkg_add(1):

pkg_add neovim

or from the ports tree:

cd /usr/ports/editors/neovim/ && make install


Termux on the Google Play store offers a Neovim package.

Install from source

If a package is not provided for your platform, you can build Neovim from source. See Building-Neovim for details. If you have the prerequisites then building is easy:

sudo make install

For Unix-like systems this installs Neovim to /usr/local, while for Windows to C:\Program Files. Note, however, that this can complicate uninstallation. The following example avoids this by isolating an installation under $HOME/neovim:

rm -r build/  # clear the CMake cache
make install
export PATH="$HOME/neovim/bin:$PATH"


To uninstall after make install, just delete the CMAKE_INSTALL_PREFIX artifacts:

sudo rm /usr/local/bin/nvim
sudo rm -r /usr/local/share/nvim/
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.