Package Details: claude-code 2.1.72-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: 40
Popularity: 8.68
First Submitted: 2025-02-24 19:35 (UTC)
Last Updated: 2026-03-10 01:16 (UTC)

Dependencies (6)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

cg505 commented on 2026-03-05 20:18 (UTC)

@mkurz Great! They must have fixed this. Thanks for taking a look.

mkurz commented on 2026-03-05 09:37 (UTC)

@cg505 when I remove the export NPM_CONFIG_PREFIX=... line this is what I get:

$ claude update
Current version: 2.1.69
Checking for updates to latest version...

Claude is managed by a package manager.
Please use your package manager to update.

Isn't this correct anyway?

Anyway, for me it does not matter if you keep export NPM_CONFIG_PREFIX=... or not, because I set NPM_CONFIG_PREFIX on my system anyway.

cg505 commented on 2026-03-05 00:55 (UTC)

@mkurz You can try without. IIRC it would offer to automatically "update" you to use the native install which could break the install, and would incorrectly claim that you had installed claude via npm i -g.

mkurz commented on 2026-03-04 22:33 (UTC) (edited on 2026-03-04 22:33 (UTC) by mkurz)

Can someone explain to me from https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=claude-code&id=51cbedfef6f359e291127f96e372715044dd87bd why those lines actually are needed:

# Wrapper to prevent claude from detecting /usr/bin/claude as npm-global installation
export NPM_CONFIG_PREFIX="${NPM_CONFIG_PREFIX:-/nonexistent}"

like what fails if they would be removed?

cg505 commented on 2026-01-07 20:21 (UTC)

2.1.0 is blocked on this issue: https://github.com/anthropics/claude-code/issues/16673

cg505 commented on 2025-12-23 20:35 (UTC)

I checked that the default installation script (curl -fsSL https://claude.ai/install.sh | bash) will download the stable version and then use it to install the latest version, lol

Updated the package to use latest instead of stable.

Sorry for the delay.

pencioner commented on 2025-12-19 09:43 (UTC)

diff --git a/.SRCINFO b/.SRCINFO
index 90a6e2a..a2d0931 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = claude-code
        pkgdesc = An agentic coding tool that lives in your terminal
-       pkgver = 2.0.65
+       pkgver = 2.0.73
        pkgrel = 1
        url = https://github.com/anthropics/claude-code
        arch = x86_64
@@ -15,9 +15,9 @@ pkgbase = claude-code
        options = !strip
        source = LICENSE::https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/LICENSE.md
        sha256sums = 728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6
-       source_x86_64 = claude-2.0.65-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.65/linux-x64/claude
+       source_x86_64 = claude-2.0.73-x86_64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.73/linux-x64/claude
        sha256sums_x86_64 = cfac3d6fe993622b6afcee02631e24e6f990c924733e63be9b7482a56627a9ca
-       source_aarch64 = claude-2.0.65-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.65/linux-arm64/claude
+       source_aarch64 = claude-2.0.73-aarch64::https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.0.73/linux-arm64/claude
        sha256sums_aarch64 = e336a5542be2ea44e8aae5a8f924553519b8c3247f3c5d82206a725afbc048c7

 pkgname = claude-code
diff --git a/.nvchecker.toml b/.nvchecker.toml
index 6f611f1..7cf7dbe 100644
--- a/.nvchecker.toml
+++ b/.nvchecker.toml
@@ -1,4 +1,4 @@
 [claude-code]
 source = "regex"
-url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/stable"
+url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest"
 regex = ".+"
diff --git a/PKGBUILD b/PKGBUILD
index b92cb37..905e2d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Christopher Cooper <christopher@cg505.com>
 # Maintainer: J<C3><A9>r<C3><B4>me Poulin <jeromepoulin@gmail.com>
 pkgname=claude-code
-pkgver=2.0.65
+pkgver=2.0.73
 pkgrel=1
 pkgdesc="An agentic coding tool that lives in your terminal"
 arch=('x86_64' 'aarch64')
@@ -25,7 +25,7 @@ source_x86_64=("claude-${pkgver}-x86_64::${_gcs_bucket}/${pkgver}/linux-x64/clau
 source_aarch64=("claude-${pkgver}-aarch64::${_gcs_bucket}/${pkgver}/linux-arm64/claude")

 sha256sums=('728158fd1037143fad6907e8fa34804177e598b7326519503fe83cafdef849e6')
-sha256sums_x86_64=('cfac3d6fe993622b6afcee02631e24e6f990c924733e63be9b7482a56627a9ca')
+sha256sums_x86_64=('950f96edb17619a94d53a5319bf56c18ffa2b8ce515f65bb1c67952c9977e060')
 sha256sums_aarch64=('e336a5542be2ea44e8aae5a8f924553519b8c3247f3c5d82206a725afbc048c7')

 package() {

theexec commented on 2025-12-19 01:33 (UTC) (edited on 2025-12-19 01:34 (UTC) by theexec)

@cg505 When do you expect to get this sorted? This needs to be on latest, right away. Happy to help support this package, just let me know how I can help.

cg505 commented on 2025-12-17 01:08 (UTC)

We should check if the CLI tries to use latest or stable by default, and do that. We can switch this package to latest easily if that makes more sense.

ticpu commented on 2025-12-16 23:45 (UTC) (edited on 2025-12-17 00:31 (UTC) by ticpu)

@cg505 Do we need a different package for the latest version? I expect this one to get flagged as outdated very often otherwise.