Last active
January 29, 2026 12:40
-
-
Save kawaz/393c7f62fe6e857cc3d9 to your computer and use it in GitHub Desktop.
install neovim to amazonlinux
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
| #!/usr/bin/env bash | |
| sudo yum groups install -y Development\ tools | |
| sudo yum install -y cmake | |
| sudo yum install -y python34-{devel,pip} | |
| sudo pip-3.4 install neovim --upgrade | |
| ( | |
| cd "$(mktemp -d)" | |
| git clone https://github.com/neovim/neovim.git | |
| cd neovim | |
| make CMAKE_BUILD_TYPE=Release | |
| sudo make install | |
| ) |
Thanks for keeping this alive!
cd /tmp && curl -L -o nvim.tar.gz 'https://github.com/neovim/neovim/releases/download/v0.11.5/nvim-linux-arm64.tar.gz' && tar -xzf nvim.tar.gz && mkdir -p ~/.local && cp -r nvim-linux-arm64/* ~/.local/ && rm -rf nvim-linux-arm64 nvim.tar.gz && ~/.local/bin/nvim --version
You only need to do a shallow clone for the neovim git repo, no need to incur additional ingress charges:
git clone https://github.com/neovim/neovim --depth=1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm on Amazon Linux 2 and had to do the following:
I had cmake 2.8, which is lower than the minimum requirement for neovim 3.16, so build it from source:
And modify PATH so that it's found:
Now build neovim: