Skip to content

Instantly share code, notes, and snippets.

@theanurin
Last active September 7, 2023 16:31
Show Gist options
  • Save theanurin/9d0d348657e5fd4d307520e836611724 to your computer and use it in GitHub Desktop.
Save theanurin/9d0d348657e5fd4d307520e836611724 to your computer and use it in GitHub Desktop.
Install Flutter Linux x64 SDKs script
#
# To start this script from remote:
#
# curl https://gist.githubusercontent.com/theanurin/9d0d348657e5fd4d307520e836611724/raw/install-flutter-linux-x64-sdks.sh | /bin/bash
#
mkdir --parents ~/opt/flutter
cd ~/opt/flutter/
for FLUTTER_VERSION in 3.3.10 3.0.5 2.10.5 2.8.0; do
echo
echo "Installing Flutter v${FLUTTER_VERSION} ..."
curl --fail https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}-stable.tar.xz \
| tar -xJp
mv flutter ${FLUTTER_VERSION}-x64
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment