git-annex now does Windows!
First, install Git for Windows
Then, install git-annex:
- Windows 10 download
This port is now in reasonably good shape for command-line use of git-annex. The assistant and webapp are also usable. There are some known problems and parts that don't work. See windows support for current status.
autobuilds
An autobuild is also available, thanks to the Datalad project.
- Windows 10 download (build logs)
download security
All the download links above use https for security. For added security, see verifying downloads.
building it yourself
To build git-annex from source on Windows, you need to install Git for Windows, and Stack.
Then open Git Bash, clone git-annex, and in git-annex's source tree, run "stack build" to download and build all dependencies and git-annex. "stack install" will install git-annex.
(To build the git-annex installer, you also need to install the NullSoft installer system, see Build/NullSoftInstaller.hs for details.)
To install git-annex next to 64bit git on Windows:
Start cmd.exe with administrator privileges and run mklink /J "C:\Program Files (x86)\Git" "C:\Program Files\Git" to add a sym-link. Install git-annex.
@eren, some of the programs included with git-annex need to use libraries from Git for Windows. In particular, I think you'll find that rsync doesn't work if you use the 64 bit Git for Windows.
rsync is still used for some things, the rsync special remote and communication with servers using older versions of git-annex.
Building on Windows gives this error:
Running Git Bash with Administrator privileges does not seem to help. Anyone else run into this / know how to fix it? Thanks!
Just to let you know that the windows installer is still at version 7.20191115
Thanks for the awesome work!
@michael.fsp autobuilder was down. There's a build now for the most recent release.
If you had filed a bug report about this permissions problem, I would have fixed it immediately. Instead I had to read all comments on the web site before I noticed it weeks later.
This build is being maintained, but you have to file bug reports when there are problems with it.
see
- http://git-annex.branchable.com/news/version_8.20201007/#comment-cc425c38dbd1e3e6ee308bf2d9de1fd1
- http://git-annex.branchable.com/bugs/windows_dosn39t_build_again6333/#comment-90263bc0689187fb5df4d44ce668c08c (bug moved to "done"?!? but there is still no updated Windows installer available...)
would this be:
* possible?
* desired?
* appreciated?
If yes, how and where? Ideas?
FWIW -- there is now CI for git-annex on linux (debian-based), osx, and Windows on https://github.com/datalad/datalad-extensions/ which builds git-annex installer, tests git-annex, and then tests datalad against it in a few scenarios. ATM it runs on cron, so not for each git-annex commit. We will see if we need/want more frequent builds. Artifacts (re)distribution will eventually be established on http://datasets.datalad.org/datalad/packages/ but we aren't there yet.
I've corrected that path.
(Please don't use this page to report issues with the windows build. Open bug reports.)