Skip to content

Instantly share code, notes, and snippets.

@lguenth
Created November 3, 2022 16:05
Show Gist options
  • Save lguenth/d3f9e8a3edaf5a570071859e97b73eca to your computer and use it in GitHub Desktop.
Save lguenth/d3f9e8a3edaf5a570071859e97b73eca to your computer and use it in GitHub Desktop.
Get latest Obsidian AppImage
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest \
| grep browser_download_url \
| grep AppImage \
| grep -v arm \
| cut -d '"' -f 4)
curl -L -o ~/.local/bin/obsidian "$DOWNLOAD_URL" && chmod +x ~/.local/bin/obsidian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment