How to find my Subversion server version number? – Dev

The best answers to the question “How to find my Subversion server version number?” in the category Dev.


I want to know if my server is running Subversion 1.5.

How can I find that out?

Also would be nice to know my SVN client version number. svn help hasn’t been helpful.

Note: I don’t want my project’s revision number, etc. This question is about the Subversion software itself.


Let’s merge these responses:

For REPOSITORY / SERVER (the original question):

If able to access the Subversion server:

  • From an earlier answer by Manuel, run the following on the SVN server:

    svnadmin --version

If HTTP/HTTPS access:

  • See the “powered by Subversion” line when accessing the server via a browser.

  • Access the repository via browser and then look for the version string embedded in the HTML source. From earlier answers by elviejo and jaredjacobs. Similarly, from ??, use your browser’s developer tools (usually Ctrl + Shift + I) to read the full response. This is also the easiest (non-automated) way to deal with certificates and authorization – your browser does it for you.

  • Check the response tags (these are not shown in the HTML source), from an earlier answer by Christopher

    wget -S --spider '' 2>&1 |
    sed -n '/SVN/s/.*\(SVN[0-9\/\.]*\).*/\1/p'

If svn:// or ssh+svn access

  • From an earlier answer by Milen

    svnserve --version   (run on svn server)
  • From an earlier answer by Glenn

    ssh [email protected] svnserve --version

If GoogleCode SVN servers

    Check out the current version in a FAQ:

If another custom SVN servers


Please edit to finish this answer

For CLIENT (not the original question):

svn --version


To find the version of the subversion REPOSITORY you can:

  1. Look to the repository on the web and on the bottom of the page it will say something like:
    “Powered by Subversion version 1.5.2 (r32768).”
  2. From the command line: <insert curl, grep oneliner here>

If not displayed, view source of the page

<svn version="1.6.13 (r1002816)" href=""> 

Now for the subversion CLIENT:

svn --version

will suffice


Here’s the simplest way to get the SVN server version. HTTP works even if your SVN repository requires HTTPS.

$ curl -X OPTIONS http://my-svn-domain/
<address>Apache/2.2.11 (Debian) DAV/2 SVN/1.5.6 PHP/5.2.9-4 ...</address>


On the server: svnserve --version

in case of svnserve-based configuration (svn:// and svn+xxx://).

(For completeness).