Skip to content

Allow me to install Claude Code locally for devcontainer #20

@mikegehard-rise8

Description

@mikegehard-rise8

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions