anthropics / anthropics/devcontainer-features

Allow me to install Claude Code locally for devcontainer

Offen
#20 0 Kommentare 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
303
Forks
60
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I run my devcontainers as the vscode user to minimize blast radius of Claude Code in the devcontainer.

Because of this, the auto update fails to work because claude code is installed globally so the vscode user does not have permissions to update it.

There is a /migrate-installer command that will fix this but if I rebuild the container because of a change, I go back to the old install location and the updater is broken again.

Fix:
Add a `"installAsUser": true` that installs claude code into the same location that /migrate-installer does.

Thanks!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.