mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
Previously, claude-code was installed via npm. Now, they are installing via a "native" method which basically boils down to a curl|bash downloading a single claude binary. This implements the logic needed to get the right binary for arch/elibc -- in fact, we're adding support for musl and arm with this change. A major downside of this method: currently, via /etc/claude-code/managed-settings.json, we're disabling all sorts of update automagic -- even prior to the move to a "native" install method -- but if a user somehow doesn't have DISABLE_AUTOUPDATER or DISABLE_INSTALLATION_CHECKS in their managed-settings.json, claude will helpfully "fix" their install by installing itself to ~/.local/ without user consent. This is not-ideal, dangerous behavior that we warn about on install. Signed-off-by: Jay Faulkner <jayf@gentoo.org>
8 lines
119 B
JSON
8 lines
119 B
JSON
{
|
|
"env": {
|
|
"DISABLE_AUTOUPDATER": "1",
|
|
"DISABLE_INSTALLATION_CHECKS": "1"
|
|
},
|
|
"installMethod": "native"
|
|
}
|