# xerus
[](https://github.com/thomasdidion/xerus/actions/workflows/ci.yaml)
[](https://crates.io/crates/xerus)
[](LICENSE)
A command-line BitTorrent client, written in Rust.
## Usage
```
A command-line BitTorrent client, written in Rust.
Usage: xerus [OPTIONS] <TORRENT>
Arguments:
<TORRENT> Path to the .torrent file
Options:
-o, --output <OUTPUT> Output filename (defaults to name from torrent)
-h, --help Print help
-V, --version Print version
```
## Example
Try to download an official Debian ISO image:
```
$> xerus debian-13.2.0-amd64-netinst.iso.torrent
Downloading "debian-13.2.0-amd64-netinst.iso" (3136 pieces)
Saved in "debian-13.2.0-amd64-netinst.iso".
```
And verify the checksum matches that expected from the checksum file:
```
```
## Installation
### From crates.io (recommended)
```bash
cargo install xerus
```
### From source
```bash
cargo install --path .
```
## Uninstallation
```bash
cargo uninstall xerus
```
## Debug
Run with the environment variable set:
```
$> RUST_LOG=trace xerus <torrent>
```
## Documentation
Learn more here: [https://docs.rs/xerus](https://docs.rs/xerus).
## License
Xerus is distributed under the terms of the [MIT License](LICENSE).