Package Details: claude-code 0.2.61-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: anthropic llm
Licenses: custom
Submitter: cg505
Maintainer: cg505
Last Packager: cg505
Votes: 5
Popularity: 3.17
First Submitted: 2025-02-24 19:35 (UTC)
Last Updated: 2025-04-03 02:56 (UTC)

Dependencies (5)

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

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" ]