From 9e8ddc8336bb2f0bb99d6ef1bb5b6c4bab02ad6d Mon Sep 17 00:00:00 2001 From: Kristin Martin Date: Wed, 28 Oct 2026 17:14:13 +0000 Subject: [PATCH] Update manual CLI install to the new release downloads Releases moved to sprites.dev/dl with bare binaries, new platform names and checksums in manifest.json. The commands now resolve the latest version, so the page no longer pins rc48. --- snippets/CliDownloads.mdx | 110 ++++++++++++++++++-------------------- 1 file changed, 51 insertions(+), 59 deletions(-) diff --git a/snippets/CliDownloads.mdx b/snippets/CliDownloads.mdx index c3e546a..318f8ae 100644 --- a/snippets/CliDownloads.mdx +++ b/snippets/CliDownloads.mdx @@ -1,112 +1,104 @@ -{/* - Generated by scripts/convert-docs.mjs from CliDownloads.astro, which - fetches the latest release at Astro build time. Mintlify has no equivalent - build-time data hook, so this snippet pins the version that was latest when - last generated (v0.0.1-rc48) — re-run the conversion script to refresh it. -*/} - -Latest CLI release: `v0.0.1-rc48`. For Apple Silicon/Intel or ARM64/x86-64 variants not shown, swap the architecture in the URL (`arm64` ↔ `amd64`). +Each release lists its binaries and their SHA256 checksums in a manifest at `https://sprites.dev/dl/client//manifest.json`. The commands below look up the latest version, so they don't need updating for each release. - - - ```bash Download - curl -LO https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-darwin-arm64.tar.gz - ``` + Builds are published for Apple Silicon only. There is no Intel Mac build. - ```bash Verify checksum (recommended) - curl -sL https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-darwin-arm64.tar.gz.sha256 | awk '{print $1 " sprite-darwin-arm64.tar.gz"}' | shasum -a 256 -c - ``` + ```bash Download + VERSION=$(curl -fsSL https://sprites.dev/dl/client/latest) + curl -fLo sprite "https://sprites.dev/dl/client/$VERSION/sprite-macos-aarch64" + ``` - ```bash Extract and install - tar xzf sprite-darwin-arm64.tar.gz - sudo mv sprite /usr/local/bin/ - ``` - - - ```bash Download - curl -LO https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-darwin-amd64.tar.gz - ``` + ```bash Verify checksum (recommended) + shasum -a 256 sprite + curl -fsSL "https://sprites.dev/dl/client/$VERSION/manifest.json" | grep -A3 '"macos-aarch64"' | grep digest + ``` - ```bash Verify checksum (recommended) - curl -sL https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-darwin-amd64.tar.gz.sha256 | awk '{print $1 " sprite-darwin-amd64.tar.gz"}' | shasum -a 256 -c - ``` + The two hashes should match. - ```bash Extract and install - tar xzf sprite-darwin-amd64.tar.gz - sudo mv sprite /usr/local/bin/ - ``` - - + ```bash Install + chmod +x sprite + sudo mv sprite /usr/local/bin/ + ``` ```bash Download - curl -LO https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-linux-amd64.tar.gz + VERSION=$(curl -fsSL https://sprites.dev/dl/client/latest) + curl -fLo sprite "https://sprites.dev/dl/client/$VERSION/sprite-linux-x86_64" ``` ```bash Verify checksum (recommended) - curl -sL https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-linux-amd64.tar.gz.sha256 | awk '{print $1 " sprite-linux-amd64.tar.gz"}' | sha256sum -c + sha256sum sprite + curl -fsSL "https://sprites.dev/dl/client/$VERSION/manifest.json" | grep -A3 '"linux-x86_64"' | grep digest ``` - ```bash Extract and install - tar xzf sprite-linux-amd64.tar.gz + The two hashes should match. + + ```bash Install + chmod +x sprite sudo mv sprite /usr/local/bin/ ``` ```bash Download - curl -LO https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-linux-arm64.tar.gz + VERSION=$(curl -fsSL https://sprites.dev/dl/client/latest) + curl -fLo sprite "https://sprites.dev/dl/client/$VERSION/sprite-linux-aarch64" ``` ```bash Verify checksum (recommended) - curl -sL https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-linux-arm64.tar.gz.sha256 | awk '{print $1 " sprite-linux-arm64.tar.gz"}' | sha256sum -c + sha256sum sprite + curl -fsSL "https://sprites.dev/dl/client/$VERSION/manifest.json" | grep -A3 '"linux-aarch64"' | grep digest ``` - ```bash Extract and install - tar xzf sprite-linux-arm64.tar.gz + The two hashes should match. + + ```bash Install + chmod +x sprite sudo mv sprite /usr/local/bin/ ``` - ```powershell Download - Invoke-WebRequest -Uri "https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-windows-amd64.zip" -OutFile "sprite-windows-amd64.zip" + $Version = (Invoke-RestMethod https://sprites.dev/dl/client/latest).Trim() + New-Item -ItemType Directory -Force "$env:USERPROFILE\bin" | Out-Null + Invoke-WebRequest -Uri "https://sprites.dev/dl/client/$Version/sprite-windows-x86_64.exe" -OutFile "$env:USERPROFILE\bin\sprite.exe" ``` - ```powershell Extract to your bin directory - Expand-Archive sprite-windows-amd64.zip -DestinationPath $env:USERPROFILE\bin + ```powershell Verify checksum (recommended) + (Get-FileHash "$env:USERPROFILE\bin\sprite.exe").Hash.ToLower() + (Invoke-RestMethod "https://sprites.dev/dl/client/$Version/manifest.json").platforms.'windows-x86_64'.digest ``` - ```powershell Add to PATH (run as Administrator) - [Environment]::SetEnvironmentVariable("Path", $env:Path + ";$env:USERPROFILE\bin", "User") - ``` + The two hashes should match. - _For ARM64 Windows, replace `amd64` with `arm64` in the URL above._ + ```powershell Add to PATH + [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$env:USERPROFILE\bin", "User") + ``` ```powershell Download - Invoke-WebRequest -Uri "https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc48/sprite-windows-arm64.zip" -OutFile "sprite-windows-arm64.zip" + $Version = (Invoke-RestMethod https://sprites.dev/dl/client/latest).Trim() + New-Item -ItemType Directory -Force "$env:USERPROFILE\bin" | Out-Null + Invoke-WebRequest -Uri "https://sprites.dev/dl/client/$Version/sprite-windows-aarch64.exe" -OutFile "$env:USERPROFILE\bin\sprite.exe" ``` - ```powershell Extract to your bin directory - Expand-Archive sprite-windows-arm64.zip -DestinationPath $env:USERPROFILE\bin + ```powershell Verify checksum (recommended) + (Get-FileHash "$env:USERPROFILE\bin\sprite.exe").Hash.ToLower() + (Invoke-RestMethod "https://sprites.dev/dl/client/$Version/manifest.json").platforms.'windows-aarch64'.digest ``` - ```powershell Add to PATH (run as Administrator) - [Environment]::SetEnvironmentVariable("Path", $env:Path + ";$env:USERPROFILE\bin", "User") - ``` + The two hashes should match. - _For ARM64 Windows, replace `amd64` with `arm64` in the URL above._ + ```powershell Add to PATH + [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$env:USERPROFILE\bin", "User") + ``` - -