Skip to content

Instantly share code, notes, and snippets.

@kawaz
Last active April 6, 2024 13:57
Show Gist options
  • Star 45 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • Save kawaz/393c7f62fe6e857cc3d9 to your computer and use it in GitHub Desktop.
Save kawaz/393c7f62fe6e857cc3d9 to your computer and use it in GitHub Desktop.
install neovim to amazonlinux
#!/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
)
@petergi
Copy link

petergi commented Nov 7, 2018

Damn! Thank you. What a pain it's been until I found this!
Every other method I tried failed miserably!

@saylestyler
Copy link

thank uuuuuu

@nrmilstein
Copy link

Thanks

@fedrod
Copy link

fedrod commented Oct 9, 2020

Thank you for this! One small difference for me, when I got to this step
sudo pip-3.4 install neovim --upgrade

I had to do this instead:
sudo pip3.4 install neovim --upgrade
(without the dash!)

@zhangjinqiang
Copy link

thank you

@alexhallam
Copy link

Thanks

@drzaiusx11
Copy link

on AL 2023 its:
#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python3-{devel,pip}
sudo pip-3 install neovim --upgrade
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
)

@alexhallam
Copy link

Thanks for keeping it alive @drzaiusx11

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