Package Details: claude-code 1.0.9-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
Last Packager: cg505
Votes: 6
Popularity: 1.71
First Submitted: 2025-02-24 19:35 (UTC)
Last Updated: 2025-06-02 21:19 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Pinned Comments

cg505 commented on 2025-02-26 21:33 (UTC) (edited on 2025-03-14 22:59 (UTC) by cg505)

Notes:

  • When you start claude, it will try to enable automatic updates. DO NOT manually fix permissions on the current npm prefix. To disable the message, run claude config set -g autoUpdaterStatus disabled.

Latest Comments

shawny commented on 2025-05-07 19:01 (UTC)

@cg505 I downgraded to node 23.11.0 via mise, and the binary runs as expected. Thanks.

cg505 commented on 2025-05-07 18:21 (UTC)

I'm still on node v23.9.0 as the Arch package hasn't been updated yet, so that could explain it. May want to report to claude-code upstream.

shawny commented on 2025-05-07 18:08 (UTC)

@cg505 Thanks for the quick follow up. I do see the same thing. It had been working, which would seem to indicate either the latest node v24.0 causes an incompatibility, or it's a problem with mise.

Either way, not a package problem. Cheers.

cg505 commented on 2025-05-07 17:33 (UTC)

@shawny, can't reproduce your issue. Do you see the same issue if you run npx @anthropic-ai/claude-code?

shawny commented on 2025-05-07 16:06 (UTC)

I just installed, and see this on run:

https://pastebin.com/9AYW71SH

cg505 commented on 2025-03-10 17:38 (UTC) (edited on 2025-03-10 17:42 (UTC) by cg505)

Strongly do not recommend mixing this package and sudo npm.

If you want to use npm, you could use sudo npm install -g/sudo npm update -g, but I think using npx is likely to be a much better solution.

btw, if you want to use a newer version and the aur package is not updated yet, it's almost always sufficient to just edit the PKGBUILD by changing the version number and setting the b2sum to 'SKIP'

aryklein commented on 2025-03-10 17:23 (UTC)

The only problem I see here is that they are releasing new versions so often. I opted by executing: sudo npm update -g @anthropic-ai/claude-code

cg505 commented on 2025-02-26 21:33 (UTC) (edited on 2025-03-14 22:59 (UTC) by cg505)

Notes:

  • When you start claude, it will try to enable automatic updates. DO NOT manually fix permissions on the current npm prefix. To disable the message, run claude config set -g autoUpdaterStatus disabled.

ralphptorres commented on 2025-02-26 10:14 (UTC)

apparently, v0.2.14 is also out now

jengland commented on 2025-02-25 01:30 (UTC)

It seems like they removed 0.2.6. The only version on npm now is 0.2.9.

==> ERROR: Failure while downloading https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.6.tgz
    Aborting...
curl https://registry.npmjs.org/@anthropic-ai/claude-code | jq '.versions | keys'
# [ "0.2.9" ]