- Download and install msys2 from http://www.msys2.org/
- After the installation is complete, open the MSys2 prompt
- Set the http_proxy and https_proxy variables if required using:
export http_proxy=http://your-proxy:port/
export https_proxy=$http_proxy
- Run
pacman -Syuu
and follow the instructions. Repeat this step until it says there are no packages to update.
- Within the msys2 prompt, run
pacman -S \
autoconf autogen automake \
bc bison \
clang cmake ctags \
dash diffutils dos2unix doxygen \
ed \
gcc git git-flow global gnu-netcat \
lzip liblzma-devel libffi-devel libxslt-devel \
make man-db man-pages-posix mc mksh \
ncurses-devel \
openssl-devel \
p7zip pcre-devel procps psmisc pwgen \
rsync \
tar texinfo tig tmux tree \
unrar unzip \
vim \
w3m \
zip zlib-devel zsh
NOTE: Symlink creation requires running msys2 as administrator. The variable MSYS should be set to winsymlinks
export MSYS=winsymlinks
- If you need an easy way to open Msys2 within your current directory in Windows explorer, download and run: msys2-here-install-reg so that you can right-click and choose "MSYS2 here" on a folder.