Package Details: claude-code 2.0.44-1

Git Clone URL: https://aur.archlinux.org/claude-code.git (read-only, click to copy)
Package Base: claude-code
Description: An agentic coding tool that lives in your terminal
Upstream URL: https://github.com/anthropics/claude-code
Keywords: agent ai anthropic llm
Licenses: LicenseRef-claude-code
Submitter: cg505
Maintainer: cg505 (ticpu)
Last Packager: ticpu
Votes: 26
Popularity: 7.48
First Submitted: 2025-02-24 19:35 (UTC)
Last Updated: 2025-11-18 05:14 (UTC)

Dependencies (6)

Sources (3)

Latest Comments

1 2 3 Next › Last »

lightdot commented on 2025-11-11 02:04 (UTC) (edited on 2025-11-11 02:04 (UTC) by lightdot)

@cg505, I think there is a meaningful difference between the minified and obfuscated source code and a binary. The former is still the actual source, albeit harder to read by a human without additional intervention.

Arch's Wiki states:

"If you are certain there will never be a source-based package, you can omit the suffix -bin. Otherwise, always use this suffix."

IMHO, a source based package exists in this case.

Therefore I'm politely asking you to reconsider the decision to use clude-code and not claude-code-bin to package the binary.

cg505 commented on 2025-11-10 17:40 (UTC)

@andykluger The bucket is pulled from the install script at https://claude.ai/install.sh. You can self-verify this. I will add a comment to the PKGBUILD.

andykluger commented on 2025-11-10 16:33 (UTC)

I'm not comfortable using this package now that it's pulling a binary from a Google storage link rather than an obviously Anthropic-controlled source.

Orangutan commented on 2025-11-05 13:12 (UTC)

FYI there's DISABLE_AUTOUPDATER (https://docs.claude.com/en/docs/claude-code/settings#environment-variables). Might be worth adding to the wrapper script unless it was intentionally not included.

cg505 commented on 2025-11-05 01:12 (UTC)

@abcfy2 Thanks, it's fixed.

abcfy2 commented on 2025-11-05 01:05 (UTC)

Hi @cg505. The new AUR package installed failed, due to the sha256sum failed for LICENSE file:

==> Making package: claude-code 2.0.33-1 (Wed 05 Nov 2025 09:02:54 AM CST)
==> Retrieving sources...
  -> Found LICENSE
  -> Found claude-2.0.33-x86_64
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    LICENSE ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/fengyu/.cache/yay/claude-code 
     context: exit status 1 


:: (1/1) Parsing SRCINFO: claude-code
==> Making package: claude-code 2.0.33-1 (Wed 05 Nov 2025 09:02:55 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found claude-2.0.33-x86_64
==> Validating source files with sha256sums...
    LICENSE ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: claude-code-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
claude-code - exit status 1

Please help to fix it. Thanks.

cg505 commented on 2025-11-04 22:05 (UTC)

@lightdot Claude Code is not open source, and I don't think there is a meaningful difference between shipping a minified npm package and a native binary.

Since there is no source-based version of the package, and there is no expectation that there ever will be one, we don't need a separate -bin package: https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Package_naming

Do you have a specific issue with the binary installation compared to the npm-based one?

lightdot commented on 2025-11-04 22:00 (UTC)

If you wish to redistribute the upstream binary, the package must be renamed to cloude-code-bin.

IMHO, the proper way to handle this is to keep this package building the code, and to create a new one called cloude-code-bin for the distribution of binaries. But I guess a package rename could be requested too, why not...

cg505 commented on 2025-11-04 21:54 (UTC)

@abcfy2 Updated, thanks for flagging it.

abcfy2 commented on 2025-11-04 13:37 (UTC)

Claude Code native binary released. Would you please switch to use that ?