Skip to content

Clarify that Expand-Archive requires PowerShell on Windows install guide #13790

Description

@zoozooll

Page URL

https://docs.flutter.dev/install/manual

Page source

https://github.com/flutter/website/blob/main/sites/docs/src/content/install/manual.md

Describe the problem

In the Windows installation guide under the extraction step, the documentation provides the following command:

PowerShell
Expand-Archive -Path <sdk_zip_path> -DestinationPath <destination_directory_path>
However, the page does not specify that this is a PowerShell cmdlet. Users running standard Command Prompt (cmd.exe) receive an error stating that 'Expand-Archive' is not recognized as an internal or external command.

Expected fix

To improve the onboarding experience for Windows users:

Explicitly label the terminal prompt as PowerShell (e.g., using a PS > prompt indicator or a note stating Run this in PowerShell).

(Optional) Add a Command Prompt alternative using tar, which is natively available on modern Windows versions:

DOS
tar -xf <sdk_zip_path> -C <destination_directory_path>

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a.get-startedRelates to the Getting Started section of docs.flutter.deve0-minutesEffort: < 60 minfix.copyNeeds copy editingfrom.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.target.WindowsTarget apps on the Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions