Having recently upgraded to Mac OS X 10.8 – Mountain Lion, I was surprised to learn that SVN (Subversion) is not included in this release of the OS. This was a big pain point for me as I use Coda together with Versions for versioning and tracking revisions to my WordPress themes and websites.
The Command Line Tools contain the latest SVN system. However, for me downloading Xcode, all 1.5GB of it, was an overkill, especially as I only wanted the SVN element, and not the Xcode IDE as I’m not a OS X / iOS developer.
Luckily there is a way to install SVN without Xcode, simply install the Command Line Tools for Mountain Lion available as a separate 116MB download from the Apple Developer site. You’ll need an Apple Developer ID, but it’s free and easy to create using your existing AppleID.
Once you’ve downloaded the 116MB file and installed the tools, you can verify that SVN is installed and check the version by opening
Terminal and enter the following at the command prompt
svn --version, you should see something like:
$ svn --version svn, version 1.6.18 (r1303927) compiled Jun 15 2012, 19:07:58 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.apache.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme