Skip to content

Commit 62e82d0

Browse files
committed
Add Windows installation instructions
1 parent b47176e commit 62e82d0

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

INSTALL

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,26 @@ and does not currently create key files with restrictive permissions,
7070
making it unsuitable for use on a multi-user system. Windows support
7171
will mature in a future version of git-crypt. Bug reports and patches
7272
are most welcome!
73+
74+
Prerequisites:
75+
76+
> This documentation is for 64 bit hosts
77+
78+
Download and install msys2 POSIX compatibility layer from http://msys2.github.io/ (get the `msys2-x86_64-*.exe`)
79+
80+
In the newly installed MSYS2 Shell, invoke the following commands to upgrade to the most recent version:
81+
82+
$ pacman --sync --refresh --noconfirm pacman
83+
$ pacman --sync --sysupgrade --noconfirm
84+
85+
(You might be asked to close the shell and run the sysupgrade command again.)
86+
87+
$ pacman --sync --refresh --noconfirm \
88+
mingw-w64-x86_64-gcc \
89+
mingw-w64-x86_64-make \
90+
mingw-w64-x86_64-openssl
91+
92+
In MinGW-w64 64-bit Shell:
93+
94+
$ cd "$YOUR_GIT_CRYPT_DIR"
95+
$ make && make install

INSTALL.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,32 @@ and does not currently create key files with restrictive permissions,
6969
making it unsuitable for use on a multi-user system. Windows support
7070
will mature in a future version of git-crypt. Bug reports and patches
7171
are most welcome!
72+
73+
Prerequisites:
74+
75+
> This documentation is for 64 bit hosts
76+
77+
Download and install msys2 POSIX compatibility layer from http://msys2.github.io/ (get the `msys2-x86_64-*.exe`)
78+
79+
In the newly installed MSYS2 Shell, invoke the following commands to upgrade to the most recent version:
80+
81+
```sh
82+
pacman --sync --refresh --noconfirm pacman
83+
pacman --sync --sysupgrade --noconfirm
84+
```
85+
86+
(You might be asked to close the shell and run the sysupgrade command again.)
87+
88+
```sh
89+
pacman --sync --refresh --noconfirm \
90+
mingw-w64-x86_64-gcc \
91+
mingw-w64-x86_64-make \
92+
mingw-w64-x86_64-openssl
93+
```
94+
95+
In MinGW-w64 64-bit Shell:
96+
97+
```sh
98+
cd "$YOUR_GIT_CRYPT_DIR"
99+
make && make install
100+
```

0 commit comments

Comments
 (0)