I would like write a script that automatically fetches the latest Neovim Appimage from the releases page, I was trying to see if I can use wget to access the latest appimage, but that would require me to know the latest version before running the command (if I wanted to create the URL myself).

e.g. https://github.com/neovim/neovim/releases/download/v0.6.1/nvim.appimage

Is there a way to do this? I'd also like to fetch the sha256sums along with the appimage as well (so a general method to download the latest assets also works).

  • I have a script with nightly.
    – eyal karni
    Commented Jan 16, 2022 at 1:04

1 Answer 1


I found that the url https://github.com/neovim/neovim/releases/latest automatically redirects to the latest version URL. So I wrote a script that extracts the version and downloads the assets.

As long as the neovim team doesn't modify their repo paths, it should keep working:

nvim_latest_version=$(curl -s https://github.com/neovim/neovim/releases/latest | grep -Po '".*"' )                                                                                                         
# get version                                                                                                                                                                                              
# get download link                                                                                                                                                                                        
# append assets                                                                                                                                                                                            
# download                                                                                                                                                                                                 
wget $nvim_appimage_link                                                                                                                                                                                   
wget $nvim_appimage_checksum_link                                                                                                                                                                          
wget $nvim_linux64_link                                                                                                                                                                                    
wget $nvim_linux64_checksum_link                                                                                                                                                                           
# check shasums                                                                                                                                                                                            
sha256sum -c nvim.appimage.sha256sum                                                                                                                                                                       
sha256sum -c nvim-linux64.tar.gz.sha256sum

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.