[FEATURE] Support native/standalone binary installation in devcontainer Dockerfile

Resolved 💬 3 comments Opened Mar 7, 2026 by yamadashy Closed Mar 11, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The official devcontainer Dockerfile still installs Claude Code via npm install -g @anthropic-ai/claude-code.

https://github.com/anthropics/claude-code/blob/main/.devcontainer/Dockerfile#L82

However, the setup documentation now lists Native Install as the recommended method, and npm installation is explicitly marked as deprecated.

Proposed Solution

Update the devcontainer Dockerfile to use the native installer:

curl -fsSL https://claude.ai/install.sh | bash

This would also remove the Node.js dependency from the devcontainer, making it usable with non-Node.js base images.

Alternative Solutions

_No response_

Priority

Low - Nice to have

Feature Category

Configuration and settings

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗