Created
December 23, 2024 17:42
-
-
Save hvrsim/bce7541b7d4ee71e6f0511150c3cdb45 to your computer and use it in GitHub Desktop.
Neovim install script for ubuntu
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
#!/bin/sh | |
# Version of vim to install, you can check the neovim versions | |
# at https://github.com/neovim/neovim/tags | |
VERSION="v0.10.1" | |
# Create the build directory | |
mkdir -p ~/builds/ | |
cd ~/builds/ | |
# Clone the git repo and enter it. | |
git clone --branch=$VERSION https://github.com/neovim/neovim | |
cd neovim | |
# Install the build dependencies | |
sudo apt-get install ninja-build gettext cmake unzip curl build-essential | |
# Build and install neovim | |
make CMAKE_BUILD_TYPE=RelWithDebInfo | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment