summaryrefslogtreecommitdiff
path: root/doc/install/Windows.mdwn
blob: e289a3a4e2361ce75f30b2e3e0fa45fd30ae3f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
git-annex now does Windows!

* First, [install msysgit](http://git-scm.com/downloads) (msysgit 1.9 is needed)
  _Be sure to tell the installer to add git to the PATH._
  That is, select "Use Git from the Windows Command Prompt"
* Then, [install git-annex](https://downloads.kitenet.net/git-annex/windows/current/)

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 [[todo/windows_support]] for
current status.

To verify that the build of git-annex works in your Windows system, you are
encouraged to run the test suite before using git-annex on real data. After
installation, run `git annex test`. There will be a lot of output; the
important thing is that it should end with "All tests passed".

## autobuilds

A daily build is also available, thanks to Yury V. Zaytsev and
[NEST](http://nest-initiative.org/).

This daily build now needs git for windows, not msysgit.

* [download](https://downloads.kitenet.net/git-annex/autobuild/windows/) ([build logs](https://qa.nest-initiative.org/view/msysGit/job/msysgit-git-annex-assistant-test/))

## building it yourself

To build git-annex from source on Windows, you need to install
the Haskell Platform and Cygwin. Use Cygwin to install these packages:
gcc rsync git wget ssh gnupg

Once the prerequisites are installed, run:

	cabal update
	git clone git://git-annex.branchable.com/ gitannex
	cd gitannex
	build

Note that git from Cygwin is able to clone git-annex's git repository;
Regular git for Windows cannot due to some characters in filenames.

(To build the git-annex installer, you also need to install the NullSoft
installer system.)