claude-code - 💡(How to fix) Fix [FEATURE] Pre-install Dart/Flutter SDK in Claude Code Web cloud environment [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45524Fetched 2026-04-09 08:03:24
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3renamed ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

Problem Statement

The Claude Code Web cloud environment comes with many language runtimes pre-installed (Node.js, Python, Go, Ruby, Bun, Rust, Java/Maven/Gradle, PHP), but Dart and Flutter SDK are not included.

For Flutter/Dart projects, the SessionStart hook must git clone the entire Flutter SDK (~1.4 GB) on every fresh session, which adds significant startup latency. While the SDK is cached on session resume, cold starts are noticeably slow.

Proposed Solution

Pre-install the Dart SDK (or ideally the Flutter SDK) in the cloud environment's base image, similar to how Go, Ruby, and other runtimes are already included.

Even just the Dart SDK (~50 MB compressed) would allow dart analyze, dart pub get, and dart test to work out of the box without any SessionStart hook setup.

Alternative Solutions

Currently using a SessionStart hook that runs git clone --depth 1 of the Flutter SDK on cold start. The SDK is cached across session resumes, but every fresh session incurs the full ~1.4 GB download (Dart SDK alone is 611 MB).

Another option considered was installing only the standalone Dart SDK (~50 MB) instead of the full Flutter SDK, but flutter pub get is needed for Flutter projects with platform-specific plugin dependencies.

Related: #16849 (Dart/Flutter LSP support)

Priority

Low - Nice to have

Feature Category

Performance and speed

Use Case Example

  1. Open a Flutter game project on Claude Code Web (claude.ai/code)
  2. Session starts → SessionStart hook runs git clone of Flutter SDK (~1.4 GB)
  3. Wait for download, Dart SDK extraction (611 MB), and flutter pub get
  4. Finally able to start working (e.g. dart analyze, editing code, running tests)

With Dart/Flutter pre-installed, step 2-3 would be eliminated entirely, and the session would be ready to use immediately — just like Node.js or Python projects are today.

Additional Context

No response

extent analysis

TL;DR

Pre-installing the Dart SDK in the cloud environment's base image can significantly reduce startup latency for Flutter/Dart projects.

Guidance

  • Consider pre-installing the Dart SDK (~50 MB compressed) to enable basic Dart functionality like dart analyze, dart pub get, and dart test without requiring a SessionStart hook.
  • Evaluate the feasibility of installing the full Flutter SDK (~1.4 GB) for comprehensive support of Flutter projects, including platform-specific plugin dependencies.
  • Assess the trade-offs between storage space and startup latency when deciding between installing the Dart SDK, the full Flutter SDK, or maintaining the current SessionStart hook approach.
  • Review related issues, such as #16849 (Dart/Flutter LSP support), to ensure a comprehensive solution that addresses all aspects of Dart and Flutter development in the Claude Code Web environment.

Example

No specific code snippet is provided, as the solution involves modifying the cloud environment's base image rather than writing code.

Notes

The decision to pre-install the Dart SDK or the full Flutter SDK should be based on the specific needs of the users and the available resources (e.g., storage space). This solution may not be feasible if storage space is a concern or if there are other limitations in the cloud environment.

Recommendation

Apply workaround: Pre-install the Dart SDK to balance storage space and startup latency, as it provides basic functionality for Dart projects and reduces the startup time compared to cloning the full Flutter SDK.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING