Use windows cli to export .md files

I'm trying to use git as my note repository so that I can update them to my blog easily. I do have the WSL, but prefer to use windows. I got some problems when I installed the cli version by npm in windows ( network caused ).

So is there any possible to use the desktop version to export the .md files by command line just like "joplin.exe export MyFolder"? I know there are some apps support this operation, so it's a little confused to me why it has to be released two different versions if you can combine them all.

Or is there any other convenient way to install the cli version in windows but for npm? Docker for instance.

( Pardon me for the poor English :disappointed: )