#!/bin/bash git clone --recursive --depth=1 --branch v0.9.5 https://github.com/neovim/neovim.git build-neovim cd build-neovim rm -rf build sudo make CMAKE_BUILD_TYPE=Release -j$(nproc) sudo make install cd .. sudo rm -rf build-neovim