Skip to content

fix(docs): replace curl command with PowerShell-compatible Invoke-WebRequest #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

ShigrafS
Copy link
Contributor

@ShigrafS ShigrafS commented Jul 8, 2025

Explanation

The current Windows build instructions for WasmEdge recommend using the curl -sLO command to download LLVM. However, this command fails in PowerShell because Windows aliases curl to PowerShell's Invoke-WebRequest, which does not support the -sLO flags. This PR updates the instructions with a PowerShell-compatible command to ensure smooth downloads on Windows, improving the developer experience.

Related issue

Closes: WasmEdge/www#31

What type of PR is this

/kind documentation

Proposed Changes

  • Replaced the curl -sLO command in Windows build instructions with a PowerShell-compatible Invoke-WebRequest command.

Copy link
Member

juntao commented Jul 8, 2025

Hello, I am a PR summary agent on flows.network. Here are my reviews of code commits in this PR.


@ShigrafS ShigrafS closed this Jul 9, 2025
@ShigrafS ShigrafS force-pushed the docs/windows-build branch from ea39cfd to 6e31df4 Compare July 9, 2025 12:06
…Request

Signed-off-by: ShigrafS <shigrafsalik@proton.me>
@ShigrafS ShigrafS reopened this Jul 9, 2025
@ShigrafS
Copy link
Contributor Author

ShigrafS commented Jul 9, 2025

@hydai
Proceeding with Invoke-WebRequest since this is the most predictable, native, and robust option for Windows users, especially those who haven't installed curl.exe or don't understand PowerShell aliasing or are not familiar with Unix-style tools.

@hydai hydai merged commit 3355fc9 into WasmEdge:main Jul 9, 2025
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows build instructions use curl -sLO which fails in PowerShell
3 participants