SVN for Sublime Text

Install

Installation of SVN is performed via Package Control. This package manager for Sublime Text helps keep your copy of SVN up-to-date with the latest features and bug fixes.

Without a license, SVN runs in evaluation mode. This mode includes full functionality and there is no time limit, however, continued usage requires the purchase of a license. A reminder popup will appear every so often, and an evaluation header will be shown in some interfaces.

Simple Method

Distribution:
  1. Using a terminal emulator, execute sudo apt-get install subversion
  2. Using a terminal emulator, execute sudo dnf install subversion
  3. Using a terminal emulator, execute sudo pacman -S subversion
  4. Using a terminal emulator, execute sudo yum install subversion
  5. Using a terminal emulator, execute sudo zypper subversion
  6. Using Terminal.app, execute xcode-select --install
  7. Install Package Control
  8. Open the Sublime Text command palette by pressing ctrl+shift+p, type Install and hit Enter
  9. Type SVN and hit Enter

Beta Releases

If you are interested in running the latest pre-release version of SVN, you may subscribe to the testing repository. As the name implies, testing releases are not as thoroughly tested as normal releases, so you are more likely to run into errors.

  1. Run the Package Control: Add Repository command from the command palette
  2. Paste the URL https://codexns.io/packages/packages-testing.json into the input box at the bottom of Sublime Text and press enter
  3. Run the Package Control: Upgrade Package command from the command palette and select SVN
  4. Restart Sublime Text

To return to normal relases, you must open the menu Preferences Package Settings Package Control Settings – User, delete https://codexns.io/packages/packages-testing.json from the repositories list, then remove and install SVN again.

Alternate, Manual Method

This method should only be used as a last resort since all updates to the package must be performed by following these instructions again.

If your machine can not access the internet, and thus can not use Package Control, you may need to perform a manual installation.

To install SVN for on , you must:

  1. Click the Sublime Text application menu
  2. Select Preferences Browse Packages…
  3. Create a new folder named SVN
  4. Download the SVN.sublime-package for Sublime Text 3 on Mac
  5. Rename the file to SVN.zip and extract it into the folder created during step 3
  6. Restart Sublime Text
  1. Click the Sublime Text application menu
  2. Select Preferences Browse Packages…
  3. Create a new folder named SVN
  4. Download the SVN.sublime-package for Sublime Text 3 on Mac
  5. Rename the file to SVN.zip and extract it into the folder created during step 3
  6. Restart Sublime Text
  1. Click the Sublime Text 2 application menu
  2. Select Preferences and then Browse Packages…
  3. Browse up a folder and then into the folder named Installed Packages
  4. Download the SVN.sublime-package for Sublime Text 2 on Mac
  5. Move SVN.sublime-package into the Installed Packages folder from step 3
  6. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Create a new folder named SVN
  3. Download the SVN.sublime-package for Sublime Text 3 on Linux
  4. Rename the file to SVN.zip and extract it into the folder created during step 2
  5. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Create a new folder named SVN
  3. Download the SVN.sublime-package for Sublime Text 3 on Linux
  4. Rename the file to SVN.zip and extract it into the folder created during step 2
  5. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Browse up a folder and then into the folder named Installed Packages
  3. Download the SVN.sublime-package for Sublime Text 2 on Linux
  4. Move SVN.sublime-package into the Installed Packages folder from step 2
  5. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Create a new folder named SVN
  3. Download the SVN.sublime-package for Sublime Text 3 on Windows
  4. Rename the file to SVN.zip and extract it into the folder created during step 2
  5. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Create a new folder named SVN
  3. Download the SVN.sublime-package for Sublime Text 3 on Windows
  4. Rename the file to SVN.zip and extract it into the folder created during step 2
  5. Restart Sublime Text
  1. Click the Preferences menu and select Browse Packages…
  2. Browse up a folder and then into the folder named Installed Packages
  3. Download the SVN.sublime-package for Sublime Text 2 on Windows
  4. Move SVN.sublime-package into the Installed Packages folder from step 2
  5. Restart Sublime Text

Subversion Command Line

The SVN package uses the Subversion command line client svn to run commands. Users of Mac and Linux will need to install Subversion manually.

SVN includes Subversion 1.6, 1.7 and 1.8 for Windows. OS X 10.6 and 10.7 include Subversion. If you do have Subversion installed, but SVN for Sublime Text is not recognizing it, please see the svn_binary_path setting.

Mac

macOS 10.12+, OS X 10.9-10.11

To install Subversion on recent versions of OS X and macOS, open Terminal.app and execute the following command to install the Command Line Tools:

xcode-select --install

OS X 10.8

For OS X 10.8, users must visit the Apple Developer Downloads and install the compatible Command Line Tools.

Linux

Depending on what distribution of Linux you run, the command to install Subversion will differ slightly. Each of these commands must be run from your Terminal.

Fedora
sudo dnf install subversion
CentOS, RHEL
sudo yum install subversion
Ubuntu, Mint, Debian
sudo apt-get install subversion
Arch
sudo pacman -S subversion
openSUSE
sudo zypper subversion

Once installed, you may need to restart Sublime Text for the command line client to be properly detected.