DEV Community

Cover image for Fixing Foundry Install Errors — The Fastest Shortcut
Utitofon Samuel
Utitofon Samuel

Posted on

Fixing Foundry Install Errors — The Fastest Shortcut

If you're setting up Foundry and trying to install via:

curl -L https://foundry.paradigm.xyz | bash
Enter fullscreen mode Exit fullscreen mode

…you might hit the annoying error:

error: download of config.json failed
Caused by: [28] Timeout was reached (Connection timed out)
Enter fullscreen mode Exit fullscreen mode

Or even worse — foundryup never installs and every command returns:

foundryup: command not found
Enter fullscreen mode Exit fullscreen mode

You’ll start Googling, clearing Cargo cache, tweaking DNS, and doing everything except actually writing Solidity.

After an hour of fighting it, here’s the real fix:


🧠 The Solution (No BS)

Use a VPN.
That’s it.

WSL sometimes has terrible routing to GitHub CDN endpoints depending on your ISP. Cargo fails, curl fails, wget fails — and it’s not your fault.

I turned on Surfshark → re-ran the install → it worked instantly.


🎤 TL;DR

If you ran into this issue, just use a VPN bro. END

Top comments (0)