Skip to content

Instantly share code, notes, and snippets.

@brynary
Created December 4, 2025 01:48
Show Gist options
  • Select an option

  • Save brynary/a2e5f37a392fca0285b6d8b78e9b55cb to your computer and use it in GitHub Desktop.

Select an option

Save brynary/a2e5f37a392fca0285b6d8b78e9b55cb to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
QLTY_CLI_VERSION="${QLTY_CLI_VERSION:-latest}"
echo "Downloading qlty $QLTY_CLI_VERSION..."
curl -fsSL "https://qlty-releases.s3.amazonaws.com/qlty/$QLTY_CLI_VERSION/qlty-aarch64-apple-darwin.tar.xz" -o /tmp/qlty.tar.xz
echo "Extracting qlty..."
mkdir -p "$HOME/.qlty/bin"
tar -xJf /tmp/qlty.tar.xz -C "$HOME/.qlty/bin" --strip-components=1
chmod +x "$HOME/.qlty/bin/qlty"
export PATH="$HOME/.qlty/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment