When starting at a new client I often have to setup my development environment from scratch.
Environment Variables
I install everything to c:\tools and set environment variables accordingly.
- JAVA_HOME
- MAVEN_HOME
- PATH
Cygwin
One of the first things I do is install 64-bit cygwin. Included in cygwin, I select the latest versions of the following packages: - bash-completion
- curl
- git
- ncurses
- openssh
- openssl
- mintty
- subversion
- vim
- wget
- inetutils
- jq
Cygwin config
When installing cygwin it does not create a /etc/passwd file, so you have to do so yourself.
Finally, go into this file and change the home directory from HOME to the directory you want from /home/ to /cygdrive/c/users/# mintty
My preferred terminal emulator in cygwin is mintty. I create a mintty.bat file with the following content:
Bash Profile
And of course, no development environment would be complete without a customized .bash_profile, here is my bare-bones version: