Skip to content

anyr update 403 + setup.sh latest 404 for linux x86_64 #32

Description

@duyetbot

Goal

anyr update (stable and --channel beta) and curl -fsSL https://anyrouter.dev/setup.sh | bash must install/upgrade on linux x86_64 without a GitHub Releases API 403 or a 404 on the download URL.

Context

Repro from the box (2026-08-28):

anyr update
# GitHub Releases API HTTP 403

anyr update --channel beta
# GitHub Releases API HTTP 403

curl -fsSL https://anyrouter.dev/setup.sh | bash
# channel=stable os=linux arch=x86_64
# Downloading https://github.com/anyrouter-dev/cli/releases/latest/download/anyr-linux-x86_64
# curl: (22) The requested URL returned error: 404

Live notes (do not treat as root cause):

Suggested

Investigate both the CLI update client (User-Agent / unauth API 403 / prerelease-only catalog) and the install script / release asset names so stable and beta channels resolve a real binary. Prefer a durable client+release fix over a one-off published tag unless a missing stable latest is actually required.

Validation

  • anyr update and anyr update --channel beta no longer print GitHub Releases API HTTP 403 (success or a clear actionable error).
  • curl -fsSL https://anyrouter.dev/setup.sh | bash downloads a real anyr-linux-x86_64 (or the correct current asset name) instead of 404.
  • Tests for the 403/404 paths. Open a PR. Do not merge release-please.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions