Does anybody know how to setup a basic SVN server on my windows pc? I want to create an SVN repository to store the code for my home projects I've got lined up.

Anyone know how to do this?

+17  A: 

Install VisualSVN Server. The server part is free. You can also just use any SVN tool to just create local repositories on your file system if you like. My favorite client side tool is TortoiseSVN.

Matthew Whited
+1 for VisualSVN. I use it all the time for my home projects. Even if I never work with another developer, having SVN lets me keep track of changes I make over time, and revert mistakes after the fact. :)
I used to run a Linux server that I hosted SVN over SSH. But I find VisualSVN on my Windows server as a much nicer option.
Matthew Whited
+1 for the suggestion to just create local repositories with TortoiseSVN. Really, a server is often overkill for personal projects...
Josh Kelley
+1 for both options. VisualSVN is a great 1-click solution, and there's nothing faster than local repos.
+6  A: 

I can strongly recommend VisualSVN. It's very easy to setup, configure and use.

I've installed it recently and have found it utterly pain-free. SVN client-wise, I'd recommend TortoiseSVN. It integrates directly with Explorer and is, again, easy to use.

If you're working with Visual Studio, AnkhSVN is a great client that integrates into VS and doesn't seem to have any problem with being used side-by-side with TortoiseSVN.

+3  A: 

I use VisualSVN on my Windows 2008 server and it works great. I then use TortoiseSVN on my client machines. The installation is painless and you should be up and running in no time.


I would try to switch to distributed version control system. For them you don't need server side. They have more advantages than SVN. Try mercurial or git.

+1  A: 

I would also Check out Assembla. Online hosting for both SVN and Git. I have used both VisualSVN and Assembla for personal projects.


Check Beanstalk it's not really an answer to the question you asked, but it might save you a lot of trouble. You could also check the VM marketplace, there are many virtual machines that would get you up and running super fast.

Here's also a very nice one called PMRepo, it includes Trac, Subversion, and Hudson in one VM.

Dan Williams

If you are the only one accessing the repository all you need is tortoisesvn. You can make a local repository anywhere you want just by right clicking and selecting "Create Repository Here" then just use the file path for the URL.