Created
May 25, 2025 11:55
-
-
Save rainrisa/11f16a2e84bd2726bd3d4808ef22cdc5 to your computer and use it in GitHub Desktop.
neovim fetch latest, for my linux mint
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
| OWNER="neovim" | |
| REPO="neovim-releases" | |
| DEB_URL=$(curl -s "https://api.github.com/repos/$OWNER/$REPO/releases/latest" | \ | |
| jq -r '.assets[] | select(.name | endswith(".deb")) | .browser_download_url') | |
| echo "Downloading: $DEB_URL" |
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
| OWNER="neovim" | |
| REPO="neovim-releases" | |
| LATEST_RELEASE=$(curl -s "https://api.github.com/repos/$OWNER/$REPO/releases/latest" | jq -r .tag_name) | |
| echo "Latest release: $LATEST_RELEASE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment