# Obtaining the Source

The most recent sources of Nix can be obtained from its [Git
repository](https://github.com/NixOS/nix). For example, the following
command will check out the latest revision into a directory called
`nix`:

```console
$ git clone https://github.com/NixOS/nix
```

Likewise, specific releases can be obtained from the
[tags](https://github.com/NixOS/nix/tags) of the repository.
