Skip to content

Instantly share code, notes, and snippets.

@kawaz
Last active October 21, 2024 14:22
Show Gist options
  • 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

@JackMBurch
Copy link

Thank you both!

@alexhallam
Copy link

My pleasure

@proffapt
Copy link

Thanks mate! Was tired of being forced to use nano :D

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