Overview #

Prior to OS 10.8 (Mountain Lion), Macs came with Subversion pre-installed. Subversion has since been moved to the Xcode developer package.

This article will walk you through the steps to install Subversion on your Mac.

Top ↑

Installing Subversion On A Mac #

1. Download The Package #

You can install Xcode to set up Subversion on your Mac; however, the download package is around 1.5 GB.

Instead, you can download Apple’s Command Line Tools from Apple’s Mac Developer website. You will need an Apple ID to download the files.

Log in to Apple’s Developer tools. Search for Command Line Tools, and download the correct package for your operating system.

Top ↑

2. Install #

Install the package.

Top ↑

3. Verify the installation #

You can verify the installation by typing:

$  svn --version

You should see something like this:

svn, version 1.7.10 (r1485443)
   compiled Aug 13 2013, 15:31:22

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

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
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

Subversion is now installed and ready to use.

Top ↑

Next Steps #