How do I download the client for windows using say wget or curl

The client downloads fine using windows or a known version like
I want to be able to script the latest version using wget or curl without knowing the version.
Is there a url like

What is the url please?

Is this any good.

wget “