Command-line svn for Windows?

WindowsSvnCommand Line-Interface

Windows Problem Overview


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.

Windows Solutions


Solution 1 - Windows

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

Solution 2 - Windows

The subversion client itself is available on Windows. See here for certified binaries from CollabNet.

> CollabNet Subversion Command-Line Client v1.6.9 (for Windows) > > This installer only includes the command-line client and an auto-update component.

Even though I can't understand it's possible not to love Tortoise! :)

Note:
The above link is for newer products - you can find version 1.11.1 through 1.7.19 at Older Subversion Releases

Solution 3 - Windows

I've used sliksvn and it works great for me

Solution 4 - Windows

cygwin is another option. It has a port of svn.

Solution 5 - Windows

You can get SVN command-line tools with TortoiseSVN 1.7 or later or get a 6.5mb standalone package from VisualSVN.

Starting with TortoiseSVN 1.7, its installer provides you with an option to install the command-line tools.

It also makes sense to check the Apache Subversion "Binary Packages" page. xD

Solution 6 - Windows

As Damian noted here https://stackoverflow.com/questions/989711/command-line-subversion-client-for-windows-vista-64bits TortoiseSVN has command line tools that are unchecked by default during installation.

Solution 7 - Windows

You can use Apache Subversion. It is owner of subversion . You can download from here . After install it, you have to restart pc to use svn from command line.

Solution 8 - Windows

If you have Windows 10 you can use Bash on Ubuntu on Windows to install subversion.

Solution 9 - Windows

VisualSVN for Windows has a command-line-only executable (as well Visual Studio plugins). See https://www.visualsvn.com/downloads/

It is completely portable, so no installation is necessary.

Solution 10 - Windows

Install MSYS2, it has svn in its repository (besides lots of other Unix goodies). MSYS2 installs without Windows Admin rights.

$ pacman -S svn

The tools can be used from cmd, too:

C:\>C:\msys64\usr\bin\svn.exe co http://somehost/somerepo/

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPieterView Question on Stackoverflow
Solution 1 - WindowsccpizzaView Answer on Stackoverflow
Solution 2 - WindowsPekkaView Answer on Stackoverflow
Solution 3 - WindowsklennepetteView Answer on Stackoverflow
Solution 4 - WindowsDan AndreattaView Answer on Stackoverflow
Solution 5 - WindowsbahrepView Answer on Stackoverflow
Solution 6 - WindowskaupovView Answer on Stackoverflow
Solution 7 - WindowshkaraogluView Answer on Stackoverflow
Solution 8 - Windowsuser2418306View Answer on Stackoverflow
Solution 9 - WindowscowlinatorView Answer on Stackoverflow
Solution 10 - WindowsweberjnView Answer on Stackoverflow