Last active
April 18, 2025 10:05
-
-
Save backroot/add72227c11759615207cbae79362287 to your computer and use it in GitHub Desktop.
neovim install for centos 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/neovim/neovim/wiki/Installing-Neovim | |
yum -y install epel-release | |
curl -o /etc/yum.repos.d/dperson-neovim-epel-7.repo https://copr.fedorainfracloud.org/coprs/dperson/neovim/repo/epel-7/dperson-neovim-epel-7.repo | |
yum -y install neovim --enablerepo=epel |
thanks @jinfagang
thanks for helping a lot
f**l, this installed nvim 0.2..... toooooo old! please don't install this
install the latest version of neovim
sudo yum install epel-release
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install nvim --classic
nvim
if you have installed 0.22 version of neovim using yum, you should remove it firstly.
sudo yum remove neovim
vim ~/.bashrc
export PATH=$PATH:/snap/bin # add this to ~/.bashrc file.
source ~/.bashrc
nvim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
f**l, this installed nvim 0.2..... toooooo old! please don't install this