SVN Missing in Mac OS X 10.8 – Mountain Lion

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.

One option is to download the latest Xcode for Mountain Lion from the Mac Apple Store. Once installed go to Xcode > Preferences > Downloads > Command Line Tools > Install.

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
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


  1. Comment by Mark Stevens
    on August 11, 2012 at 12:58 pm

    Thanks for the tip.

  2. Pingback by SVN auf Mac OS X 10.8 alias Mountain Lion (nach)installieren - Free Mac Software Blog
    on August 17, 2012 at 7:09 pm

    [...] Alternative schlägt grapii in seinem Blog den direkten Download der Command Line Tools vor. Dazu benötigt man lediglich einen [...]

  3. Comment by Peter DeGregorio
    on August 21, 2012 at 2:35 pm


  4. Comment by ruben
    on August 21, 2012 at 4:55 pm

    Thanks…this help alot

  5. Comment by Bob
    on August 23, 2012 at 1:55 pm

    many thanks for this tip !!!
    116M vs 1.5G

  6. Comment by John Hohlen
    on September 1, 2012 at 6:51 pm

    The URL to download from Apple developer site is not working. I’m getting the following error when I click on it:

    The requested application was not found on this server.

    Any ideas on where it went?

  7. Comment by Rajesh Patel
    on September 1, 2012 at 6:51 pm

    Are you sure? I just clicked on the download URL and it took me to the list of available applications where the command line tools for mountain lion was listed

  8. Comment by Gabriel Gcia Fdez
    on September 2, 2012 at 12:08 pm

    Really helpful!!! Thx! :)

  9. Comment by Marco
    on September 6, 2012 at 11:27 pm

    Thank you!

  10. Comment by Anthony Glass
    on September 25, 2012 at 6:52 pm

    Thanks for the info! This has been vexing me for a few days and now I can get on with svn business.

  11. Comment by Guillaume
    on October 3, 2012 at 8:45 am

    Good move I think. SVN not a “modern” dev tool. Should only ship Git IMAO. Install SVN only for legacy purpose

  12. Comment by Keith Suderman
    on October 4, 2012 at 10:24 pm

    Subversion is still included with Mountain Lion. It now lives in /opt/subversion, it just isn’t included on the PATH by default anymore (for some reason). Either add /opt/subversion/bin to your path or copy (or link) the svn executables into /usr/bin.

  13. Comment by Igor
    on October 5, 2012 at 6:23 pm

    If your goal is to install Sublicpse, you’re in for more hassle. (Thanks, Apple, by the way, for moving away from a computer company to a consumer electornics company.) You need to install the JavaHL library, that does not ship with the version of SVN maintained by Apple. You will have to downloaded that via MacPorts, which itself requires the full XCode installation.

  14. Comment by Igor
    on October 5, 2012 at 6:50 pm

    A better solution is to ditch Subclipse and use Subversive instead, the new SVN plugin that is included in the standard update site list as of Eclipse Juno. Still need the command line SVN, of course.

  15. Comment by Marky Goldstein
    on October 8, 2012 at 1:28 pm

    What a mess… I tried to move to Subversive for Eclipse, but it still does not run. I think there must be either JavaHL or SVNKit installed in addition, and that is not that easy as some documents describe. Unfortunately most sites concerning these things are out of data – not ready for Mountain Lion. Anyway, on my machine there seems to be something wrong around the RA layer… I need to further research this. Inputs are welcome.

  16. Comment by KreCi
    on October 13, 2012 at 9:34 am

    Thanks! That is what I really needed!

  17. Comment by Kamesh
    on October 15, 2012 at 8:32 am

    Helped a lot thanks . Download the recent oct 3 2012 release . It works fine (110.23MB)

  18. Comment by Narayan Iyer
    on October 18, 2012 at 9:54 am

    Awesome … Thanks!

  19. Comment by Rakesh
    on October 27, 2012 at 12:08 pm

    Thanks a lot, This was really helpful.

  20. Comment by Tsuroo
    on October 28, 2012 at 9:33 am

    Thank you for this!

  21. Comment by Mima
    on November 6, 2012 at 10:08 am

    Many thanks, this was very helpful!!

  22. Comment by Winston Lee
    on November 9, 2012 at 5:13 pm

    Thanks a lot – bailed my a$$ out.

  23. Comment by hcpl
    on November 18, 2012 at 12:58 pm

    Many thanks for this tip. I was looking for the binaries and only found it compiled up to OS X 10.7. This totally solves my problem!!

  24. Comment by Grammar
    on December 8, 2012 at 7:08 am

    thank you!
    this was mighty helpful.

  25. Comment by lowfour
    on December 14, 2012 at 1:26 pm

    Thank you, useful post! I was going crazy without SVN.

  26. Comment by Mikael
    on December 15, 2012 at 4:34 pm

    Thanks! Very welcomed!

  27. Comment by Kastor
    on December 19, 2012 at 1:47 pm


  28. Pingback by Pixels Vs Inches » Setup Tips for MacOSX 10.8 – Mountain Lion
    on December 26, 2012 at 4:28 pm

    [...] guy lead me to the solution: Simply go to the Apple Developer site and download the Command Line tools [...]

  29. Comment by Deji Lana
    on December 28, 2012 at 6:56 am

    Thnx a lot! You saved me a lot of stress.

  30. Comment by Jeramie
    on January 7, 2013 at 11:04 pm

    You can also just run

    xcrun svn $Repo (replace repo with your repo url)

    Then you dont have to install the command line tools

  31. Comment by Ronn
    on January 8, 2013 at 7:10 pm

    Much appreciated.

  32. Comment by ari
    on January 22, 2013 at 1:41 pm

    Thanks! It was driving me mad but you tip solved the problem!

  33. Comment by Chris
    on January 25, 2013 at 4:42 pm


    I can understand that things like this get removed, but would it kill them to show a message when the user tries to run something that used to be there? Like Ubuntu et al, tells you what command to type to install the thing you just tried to run.

  34. Comment by Jussi
    on January 29, 2013 at 4:36 pm


  35. Pingback by Install gcc4.7 on Your Mac
    on February 3, 2013 at 6:49 am

  36. Pingback by Step by Step Fix for iMessage - Requires Latest Chameleon - Page 9
    on February 3, 2013 at 1:44 pm

    [...] [...]

  37. Comment by Mark
    on February 11, 2013 at 8:40 am

    Thank you. This worked for me. I didn’t know the SVN is not pre-installed in OSX Mountain Lion.

  38. Comment by Greg Priday
    on February 18, 2013 at 11:27 am

    Thanks Rajesh. Great tip! You saved me waiting 2 hours for Xcode to download.

  39. Comment by Katharine
    on February 18, 2013 at 6:54 pm

    totally bailed me out. Thanks!

  40. Comment by Tom
    on February 26, 2013 at 8:09 pm

    Appreciate it!!!

  41. Comment by Carrie
    on March 13, 2013 at 5:43 pm

    Thank you! thankyou thankyou You’re a life saver. :)

  42. Comment by Boycey
    on March 17, 2013 at 8:55 am

    Cheers RP – Seems that the latest update to Xcode had removed this. As a frontend designer its tips like this that help us out when were stuck, the terminal stuff isn’t one of my skills :D

  43. Comment by niclariviere
    on March 19, 2013 at 4:03 am

    Thanks for sharing, exactly what I needed.

  44. Comment by F
    on March 19, 2013 at 6:02 am

    Many thanks!

  45. Comment by kurt
    on March 21, 2013 at 10:46 am

    Thanks dude, really saved me. I’m on a 1mb line, can’t really afford to download stuff I don’t need.

    Thanks again!!

  46. Comment by jj
    on April 10, 2013 at 3:15 am

    you rock! Thanks Rajesh

  47. Comment by kk
    on April 12, 2013 at 8:13 am

    Thanks buddy

  48. Comment by pat
    on April 16, 2013 at 7:10 pm

    Hey I took the 2nd option and it worked like a charm!!

  49. Comment by Jo Brodie
    on April 22, 2013 at 8:13 pm

    Thank you – your instructions are excellent. I took the first option (massive download) as I’d rather that than fill in more Apple forms :)

  50. Comment by Van Wilson
    on April 25, 2013 at 6:40 pm

    Thanks, just got a new Mac, and this article really saved me from pulling out all of my hair.

  51. Comment by Toby
    on May 6, 2013 at 8:32 pm

    Thanks for this; couldn’t download the tools on their own as there was a problem with the Developers site and my ID which I’ve reported… but updating to the latest version of Xcode as we speak!

  52. Comment by Sushant Nayak
    on May 9, 2013 at 6:57 pm

    Thanks dude, its such a pain to install the xcode just for svn..

  53. Comment by Todd Kang
    on May 15, 2013 at 12:47 pm

    Wonderful……just saw this and it had to be you at the top of google, cheers buddy.

  54. Comment by Saket
    on May 17, 2013 at 3:36 pm

    Thanks, that helped a lot

  55. Comment by Cameron
    on May 23, 2013 at 6:23 am

    Very useful advice thanks, clearly stated. Excellent!

  56. Comment by coder
    on August 7, 2013 at 10:55 am

    thanxxx for hellp.. i am appreciate your web site. vary nice tips.. keep helping

  57. Comment by glitch
    on August 26, 2013 at 3:14 pm

    you’re my hero

  58. Comment by Anand
    on September 2, 2013 at 4:14 am

    Exactly what I was searching for. Thanks.

  59. Comment by Katie
    on September 10, 2013 at 9:36 pm

    Thanks for the quick tip, exactly what I was looking for! SVN is installed and ready for some abuse ;)

  60. Comment by L Noir
    on September 23, 2013 at 2:36 pm

    Much appreciated, saved me some time :-)

  61. Comment by Lary
    on October 3, 2013 at 11:29 pm

    Thank you for the instructions. Much faster than downloading xcode.

  62. Comment by Chung-Wei W.
    on October 12, 2013 at 5:33 pm

    Thank you! Very helpful!

  63. Comment by Tang
    on October 19, 2013 at 3:06 pm

    This instruction is really helpful. Thank you!

  64. Comment by Rem
    on October 21, 2013 at 7:19 pm

    Thankyou big help

  65. Comment by Shweta
    on October 24, 2013 at 10:34 pm

    Thanks a lot

  66. Comment by Richard Chen
    on December 7, 2013 at 1:27 am

    thanks a bunch. what a pain…

  67. Comment by anri
    on December 12, 2013 at 11:21 am

    Thanks a bunch, that helped a lot! :)

  68. Comment by Girish
    on January 22, 2014 at 12:26 am

    Thanks, very helpful.

  69. Pingback by SVN Missing in Mac OS X 10.9 – Mavericks | Grapii
    on March 1, 2014 at 4:34 am

    [...] to my article posted previously regarding the omission of SVN tools in OS X 10.8 Mountain Lion, it seems Apple have dropped the feature again on OS X 10.9 Mavericks. I’m beginning to think [...]

  70. Comment by Elia
    on March 10, 2014 at 7:31 am

    Thanks Raj!

  71. Comment by James
    on March 12, 2014 at 10:10 pm

    Thanks for the tip. Just what I needed.

  72. Comment by Mariam
    on April 29, 2014 at 1:11 pm

    The download of the Command line tools and the installation went really smooth. Thanks!!