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

The client downloads fine using windows or a known version like
https://github.com/bitwarden/clients/releases/download/desktop-v2023.7.1/Bitwarden-Installer-2023.7.1.exe
I want to be able to script the latest version using wget or curl without knowing the version.
Is there a url like
https://github.com/bitwarden/clients/releases/download/windows/latest

What is the url please?

Is this any good.

wget “https://vault.bitwarden.com/download/?app=desktop&platform=windows

Doesn’t work here
–2024-07-26 06:02:04-- https://vault.bitwarden.com/download/?app=desktop
Resolving vault.bitwarden.com (vault.bitwarden.com)… 151.101.65.91, 151.101.129.91, 151.101.193.91, …
Connecting to vault.bitwarden.com (vault.bitwarden.com)|151.101.65.91|:443… connected.
HTTP request sent, awaiting response… 400 Bad Request
2024-07-26 06:02:04 ERROR 400: Bad Request.

[1]+ Exit 8 wget https://vault.bitwarden.com/download/?app=desktop