Skip to content

Instantly share code, notes, and snippets.

@JeffLabonte
Forked from strobelt/install_neovim.sh
Created July 7, 2022 17:10
Show Gist options
  • Save JeffLabonte/590468b87a21481a68fdcf1093a90b45 to your computer and use it in GitHub Desktop.
Save JeffLabonte/590468b87a21481a68fdcf1093a90b45 to your computer and use it in GitHub Desktop.
Install latest NeoVim in Debian
# Download latest NeoVim .deb package from GitHub using GH API
wget -o nvim.deb \
$(curl -s 'https://api.github.com/repos/neovim/neovim/releases/latest' \
| jq -r '.assets|.[]|select(.content_type == "application/x-debian-package")|.browser_download_url')
# Install .deb
sudo dpkg -i nvim.deb
# Clean up
rm -f nvim.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment