How do I download Brave with curl?

Hi All,

I have been testing Tiny-11, which is a stripped version of Windows 11. It does NOT come with a web browser (Edge). (Or a bunch of other nefarious bloatware and spyware.) Tiny-11 does come with curl.

Is there a way to download the latest stable version of Brave for Windows with curl? Is so, would you give me an example?

Many thanks,
-T

I think this is it. Can someone tell me if I am getting it right?

curl -L ‘https://referrals.brave.com/latest/BraveBrowserSetup-BRV030.exe’ --output ‘BraveBrowserSetup-BRV030.exe’

Will the link (BRV030) always be the Windows version?

@ToddAndMargo,
Yes that is correct. You can also change the filename to just read BraveBrowserSetup.exe and snag the non-referral version. We actually have an open issue to change the tagging:

1 Like

Thecurlcommand in Windows Powershell is actually an alias of the Powershell commandInvoke-WebRequest. To use the “real” curl, you need to typecurl.exe.
So the correct command would be curl.exe -L https://referrals.brave.com/latest/BraveBrowserSetup-BRV030.exe --output path/filename

1 Like

Thank you! I will update my records.

Will the above still work?

Both will work, it’s just a difference with referral codes.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.