Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions claude/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ also published at
## Notes

- Binaries are served from `https://downloads.claude.ai/claude-code-releases/`
as a single executable per platform (no archive). Linux uses the static
`musl` build so it runs on both glibc and musl hosts.
as a single executable per platform (no archive). Linux uses the glibc build:
the upstream `musl` variant is dynamically linked against the musl loader (not
static), so it fails on glibc hosts such as standard CI runners.
- Upstream publishes checksums only inside a per-version `manifest.json`, which
the TOML plugin format cannot parse, so installs are not checksum-verified.
8 changes: 5 additions & 3 deletions claude/plugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ aarch64 = "arm64"
x86_64 = "x64"

# Claude Code ships a single prebuilt binary per platform (no archive), served
# from downloads.claude.ai under a {version}/{platform}/<binary> path. The Linux
# build uses the static musl variant so it runs on both glibc and musl hosts.
# from downloads.claude.ai under a {version}/{platform}/<binary> path. Linux uses
# the glibc build: the upstream "musl" variant is not static (it is dynamically
# linked against /lib/ld-musl-x86_64.so.1), so it fails with ENOENT on glibc hosts
# such as the ubuntu CI runners; the glibc build runs on standard Linux and CI.
# Per-version checksums exist only inside a manifest.json (keyed JSON), which the
# TOML plugin format cannot parse, so no checksum-url is published here.
[platform.linux]
download-file = "linux-{arch}-musl/claude"
download-file = "linux-{arch}/claude"
exe-path = "claude"

[platform.macos]
Expand Down