Search code examples
windowssvncommand-line-interface

Command-line svn for Windows?


Is there a command-line based version of svn for Windows? I know I can get TortoiseSVN, but that just doesn't work for me.


Solution

  • TortoiseSVN contains a console svn client, but by default the corresponding option is not enabled during installation.

    The svn.exe executable is not standalone and it depends on some other files1 in the distribution but this should not be a problem in most cases.

    Once installed you might need to add the folder containing svn.exe to the system PATH as described here so that it is available in your console. To check if it was already added by the installer open a new console and type echo %PATH%. Use set on its own to see all environmental variables.

    TortoiseSVN install wizard

    1 for the svn* executables in TortoiseSVN 1.14.1, the following files are required on the PATH:

    intl3_tsvn.dll
    libaprutil_tsvn.dll
    libapr_tsvn.dll
    libsasl.dll
    libsvn_tsvn.dll