Skip to content

Add check for existence of system requirement command line tools #52262

@jmagman

Description

@jmagman

Check for the presence of all required executables as soon as possible (before artifacts are downloaded) in the tool and give a good error message. flutter doctor makes sense but the validators may be run too late to catch git or zip exceptions.

https://flutter.dev/docs/get-started/install/windows#system-requirements

  • Windows PowerShell 5.0 or newer (this is pre-installed with Windows 10)
  • Git for Windows 2.x, with the Use Git from the Windows Command Prompt option.

https://flutter.dev/docs/get-started/install/macos#system-requirements

  • bash
  • curl
  • git 2.x
  • mkdir
  • rm
  • unzip
  • which
  • zip

https://flutter.dev/docs/get-started/install/linux#system-requirements
(above list + xz-utils)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectt: flutter doctorProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions