Open CMD in directory you want the file
curl -O -L "https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx"
-O download the file named
-L follow redirects
I needed both capital O and capital L for it to work
Looking to find how to redirect the download to another location within the command line.
I have had this structure work for multiple file downloads but also mysteriously fail.
curl -O -L https://patchmypc.com/freeupdater/PatchMyPC.exe
curl -O -L https://www.carifred.com/uvk/UVKPortable.exe
This seems to be the preferred structure for multiple file downloads.
After the initial curl command, list them one after the other separated by a space.
Sadly more difficult to edit.
curl -O -L https://patchmypc.com/freeupdater/PatchMyPC.exe https://www.carifred.com/uvk/UVKPortable.exe
Wget is great also. Maybe faster for some reason.
It requires install, were as Curl is part of Win 10 and beyond.
There is Wget2 but the added 2 in the command irritates me :)
Again, a continuous list separated by a single space.
wget install JernejSimoncic.Wget
Open CMD in folder for downloads
wget --nocheck-certificate https://patchmypc.com/freeupdater/PatchMyPC.exe https://www.carifred.com/uvk/UVKPortable.exe https://www.sordum.org/files/download/defender-exclusion-tool/ExcTool.zip