Skip to content

Instantly share code, notes, and snippets.

@strobelt
Last active May 6, 2025 12:34
Show Gist options
  • Save strobelt/23c3df20b4b21a3a01964ab7e5aecceb to your computer and use it in GitHub Desktop.
Save strobelt/23c3df20b4b21a3a01964ab7e5aecceb to your computer and use it in GitHub Desktop.
Install latest NeoVim in Debian
# Download latest neovim release from GitHub releases and pipe it to tar to extract it to /usr
curl -sL https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz \
| sudo tar -xzf - --strip-components=1 --overwrite -C /usr
@vcfvct
Copy link

vcfvct commented Jul 21, 2023

Thanks for the script! (Bing Chat gives your gist when asking how to install latest neovim for debian) 😄
Looks like neovim does not release deb any more according to this change.
any reliable source for deb going forward? @strobelt

@strobelt
Copy link
Author

Thanks for the heads-up @vcfvct, I updated the gist to download NeoVim directly from the latest release available and extract it to /usr.

@keponk
Copy link

keponk commented May 6, 2025

nice and clean script. best duckduckgo result for what I wanted.
Nomenclature of the URL has changed to this in case you want to update:
https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz

@strobelt
Copy link
Author

strobelt commented May 6, 2025

Glad I could help you @keponk! Thanks for the correction too. Just updated the Gist!

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