flutter-environment-setup-linux
flutter-linux-setup
Goal
Configures a Linux environment (Debian/Ubuntu or ChromeOS) for Flutter desktop application development by installing required system prerequisites, managing OS-specific configurations, and validating the toolchain.
Decision Logic
- If OS is ChromeOS: Require manual enablement of Linux support before proceeding to package installation.
- If OS is Debian/Ubuntu: Proceed directly to
apt-getpackage updates and installations. - If OS is non-Debian (e.g., Fedora, Arch): Halt and inform the user that this skill specifically targets
apt-getpackage managers.
Instructions
-
Determine the Host Operating System: STOP AND ASK THE USER: "Are you setting up this Flutter environment on a standard Debian/Ubuntu Linux distribution, or on a Chromebook (ChromeOS)?"
-
Handle ChromeOS Prerequisites (Conditional): If the user indicates they are on a Chromebook: Instruct the user to navigate to their ChromeOS Settings, turn on "Linux development environment", and ensure it is fully updated. STOP AND ASK THE USER: "Please confirm once Linux support is enabled and updated so we can proceed with the package installation."