Skip to content

Instantly share code, notes, and snippets.

@JamesDBartlett3
Created November 23, 2025 21:36
Show Gist options
  • Select an option

  • Save JamesDBartlett3/7879ff40aa50f42d601dbaff0fd16901 to your computer and use it in GitHub Desktop.

Select an option

Save JamesDBartlett3/7879ff40aa50f42d601dbaff0fd16901 to your computer and use it in GitHub Desktop.
Get version number, installer links, and release notes for latest version of Bitwig Studio
#!/bin/bash
PAGE_URL="https://www.bitwig.com/previous_releases/"
# Fetch page HTML
HTML=$(curl -sS "$PAGE_URL")
# Extract the first version number from <th>
VERSION=$(echo "$HTML" | grep -oE '<th>[0-9.]+</th>' | sed 's/<\/\?th>//g' | head -1)
# Extract Windows x64 installer link for that version
WIN_X64=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/installer_windows/" | head -1)
# Extract Windows ARM installer link for that version
WIN_ARM=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/installer_windowsarm/" | head -1)
# Extract macOS installer link for that version
MACOS=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/installer_mac/" | head -1)
# Extract Flatpak installer link for that version
FLATPAK=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/installer_flatpak/" | head -1)
# Extract Ubuntu installer link for that version
LINUX=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/installer_linux/" | head -1)
# Extract release notes link for that version
REL_NOTES=$(echo "$HTML" | grep -oE "https://[^\"]*/${VERSION}/release_notes/" | head -1)
# Output results
echo "Latest Bitwig Studio version: $VERSION"
echo "Windows x64 installer: $WIN_X64"
echo "Windows ARM installer: $WIN_ARM"
echo "MacOS installer: $MACOS"
echo "Flatpak installer: $FLATPAK"
echo "Linux installer: $LINUX"
echo "Release Notes: $REL_NOTES"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment