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.
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.