anthropics / anthropics/devcontainer-features

Allow me to install Claude Code locally for devcontainer

未關閉
#20 0 則留言 10 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Shell
星號
303
分支
60
PR 合併指標
30 天內沒有已合併 PR

描述

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!

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。