


You now need to close your current terminal session and open a new one. So here is the final commands to change the symlink to the homebrew version: $ cd /usr/share Useful, but not perfect for a homebrew package install. I found this article which got me started. So we need to remove the symlink and set it to our new installed copy. Run this to see where this is: $ whereis ant It seems the easiest option is to remove the symlink currently set for the system. I then scratched my head for a while as to how to get OSX to use the newly installed version. I created this ages ago and assume they’re still free to do… Once installed it puts the package here: /usr/local/Cellar/ant/1.8.2 Ha! fun and games! Luckily, I have an Apple Developer account which allows you to download archived releases of Apple’s software. So here is the brew to get started: $brew install ĮDIT: You can also just install now with homebrew just by typing the following $brew install antīeware, you might need to install Apple’s XCode, which if you’re still running OS X 10.6 or lower (like me) you can’t install the latest version (4) via the wonderful (?) AppStore. However, it’s not obvious how to install Apache Ant as it’s not one of the packages they list. I’m not going to discuss how to install this, as they have a really simple guide. I was advised to use the simple OSX package installer homebrew. To see what version you currently have installed run this: $ ant -versionĪpache Ant version 1.7.1 compiled on February 11 2010 The first website from seventy6 said all of the below, with a few updates from myself. I had Ant 1.8.4 installed on my Mac 10.8.5 and upgraded to: Apache Ant(TM) version 1.9.4 compiled on April 29 2014

I found these two links to update Ant on mac:
