---
title: Checkout a specific revision from SVN from the command line
date: 2012-05-23
excerpt: How to checkout a specific revision from a SVN (Subversion) repository.
tags:
  - svn
  - version-control
---

How to checkout a specific revision from a SVN (Subversion) repository.

If you're checking out the repository for the first time:

```bash
$ svn checkout -r 1234 url://repository/path
```

If you already have the repository checked out:

```bash
$ svn up -r 1234
```