Skip to content

Instantly share code, notes, and snippets.

@ogabriel
Created June 14, 2024 12:49
Show Gist options
  • Save ogabriel/e67ba0ef63ac1b1162e40017feed76f9 to your computer and use it in GitHub Desktop.
Save ogabriel/e67ba0ef63ac1b1162e40017feed76f9 to your computer and use it in GitHub Desktop.
install stable neovim on debian/ubuntu based distros
#!/bin/sh
sudo apt-get install ninja-build gettext cmake unzip curl
cd /tmp
rm -rf /tmp/neovim
git clone https://github.com/neovim/neovim
cd neovim
git checkout stable
make CMAKE_BUILD_TYPE=RelWithDebInfo
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment