Skip to content

Instantly share code, notes, and snippets.

@jmannau
Last active October 18, 2019 00:08
Show Gist options
  • Save jmannau/a7ee8e42e95598d438ba334bbd40834d to your computer and use it in GitHub Desktop.
Save jmannau/a7ee8e42e95598d438ba334bbd40834d to your computer and use it in GitHub Desktop.
Windows Development

Windows Development Setup

I use a Mac for day to day development. Every now and then I need a Windows box to test or dev on. Microsoft provide Virtual Machines for developers to use that can be downloaded from microsoft.com. The only caveat here is that the builds expire after rougly 3-6 months, so they really are for occasional use. Don't store anything in the VM that you need to keep.

Windows Depenancy Management

Being a mac developer, I user Brew to manage dependancies. Today, I needed to compile a program in windows that required several dependancies, including Git, JDK, Ant & NSIS. Rather than manually downloading and installing each exe, I used Chocolatey to setup my environment. Once installed, Chocolatey works very similar to brew. This includes:

  • choco search {search string}
  • choco info {package name}
  • choco install {package name}

To install my dependancies, I was able to install them all in one command:

  • choch install OpenJDK ant nsis git

and away we go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment