Subversion, also known as SVN, is an open source system that remembers all the changes you make to files and folders. It is useful if you decide to track down changes to your documentation or restore a previous version of a file. Start at Step 1 and you will learn how to install Subversion on Mac OS X.
Steps
Method 1 of 2: Installing from a binary package

Step 1. Go to
Here you will find binaries that you can download, each file has its own requirements. Choose the one that best suits your needs.

Step 2. Unzip the pkg file
The Subversion installer appears on your desktop. Double click on the file and follow the directions to install.

Step 3. Open the Terminal located in the Utilities folder
Alternatively, find the Terminal shortcut. Enter the following [username] $ prompt:
- svn [enter]
-
Install Subversion on Mac OS X Step 3 - If the message "Type 'svn help' for usage," appears, then svn is working correctly.
-
Install Subversion on Mac OS X Step 3 - If / usr / local / bin is not in your path, edit profile and add the line:
-
Install Subversion on Mac OS X Step 3 Export PATH = $ PATH: / usr / local / bin
- Open another Terminal window and try again: svn [enter]
-
Install Subversion on Mac OS X Step 3
Method 2 of 2: Setting up a Subversion environment

Step 1. Configure SVN server
This is required to distribute a Subversion project.

Step 2. Launch Terminal, create a folder called svnroot in your account folder
mkdir svnroot
- Type: svnadmin create / Users / [your username] / svnroot
-
Install Subversion on Mac OS X Step 5 - The server will be created!
-
Install Subversion on Mac OS X Step 5

3 Use svn server with Terminal. You can check the server operation in Terminal using the command: svn checkout file: /// Users / [your username] / svnroot
- For remote access, activate "ssh access" (System Preferences / Sharing) and check with the command: svn checkout svn + ssh: //my.domain.com/Users/ [your username] / svnroot
-
Install Subversion on Mac OS X Step 6

Step 4. Configure the client
For example, svnX supports all versions of Mac OS X from 10.5 to 10.8.

Step 5. After loading, start SVNx and you will see two windows named "Working Copies" and "Repositories"
In the Repositories window, add the URL and login information from the SVN server.
- Open the window; if an error occurs, check Login.
-
Install Subversion on Mac OS X Step 8 - Go to Terminal and type: svn import -m "your Import message" / my / local / project / path / my / remote / svn / repository. This command will add files from the local project to the SVN server.
-
Install Subversion on Mac OS X Step 8 - Specify the path to the SVN repository (from the SVN server) in the list in the SVNx Working Copies window.
-
Install Subversion on Mac OS X Step 8

Step 6. In SVNx, open your working copies
When you work with this project, you will see all the changes.

Step 7. Test
Make the change to your working copies and refresh the Working Copies window.
SVNx will show all files with the changes made. Click on the "Commit" button to add the server to the SVN Storage

Step 8. If you prefer to work with the Subversion repository from within the Finder, use SCPlugin or SVN Scripts for Finder.
Advice
- The main documentation for Subversion is the free Version Control with Subversion or "The Subversion Book." You can get them at:
- Additional documentation is contained in doc / subdirectory. Read the doc / README file for more information.