From aeecdd5bb882882e1c73277c5db8020e64af4b1c Mon Sep 17 00:00:00 2001 From: George Vaintrub Date: Tue, 2 Jun 2026 20:49:07 +0100 Subject: [PATCH] chore(claude): silence native install check for mise-managed install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ~/.claude.json records installMethod:native, so Claude Code's doctor probes ~/.local/bin/claude and warns on every startup — but claude is installed via mise/aqua, not the native installer: installMethod is native, but claude command not found at ~/.local/bin/claude Set two recognized env vars in settings instead of faking the native layout: - DISABLE_INSTALLATION_CHECKS=1 — the install-integrity checks early-return, so the warning (and npm-deprecation / install-mismatch notices) is gone. This is the intended escape hatch for externally-managed installs. - DISABLE_AUTOUPDATER=1 — the native self-updater stays off; mise/aqua owns versioning (mise upgrade aqua-anthropics-claude-code). --- .chezmoitemplates/claude-settings-base.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.chezmoitemplates/claude-settings-base.json b/.chezmoitemplates/claude-settings-base.json index 3cbdd75..698955d 100644 --- a/.chezmoitemplates/claude-settings-base.json +++ b/.chezmoitemplates/claude-settings-base.json @@ -12,6 +12,10 @@ "{{ $p }}": true {{- end }} }, + "env": { + "DISABLE_INSTALLATION_CHECKS": "1", + "DISABLE_AUTOUPDATER": "1" + }, "alwaysThinkingEnabled": true, "skipAutoPermissionPrompt": true, "voiceEnabled": true