# Installation

tomes is one program without dependencies. Pick one of these ways to get it.


# With uv (or pipx)

tomes is on PyPI as a wheel with the binary in it (like ruff and uv), so you don't need Python for anything else:

``` bash
uvx tomes https://r4ds.hadley.nz/   # run it without installing
uv tool install tomes               # install it
pipx install tomes                  # or with pipx
```


# With cargo

``` bash
cargo install tomes
```


# A binary

Every [release](https://github.com/jeroenjanssens/tomes/releases) has binaries for Linux (x86-64 and ARM, glibc and musl), macOS (Intel and Apple silicon), and Windows, with a `SHA256SUMS` file. Unpack one and put `tomes` somewhere on your `PATH`.


# Check it

``` bash
tomes --version
```

Then read the [Quick start](quickstart.md).


# Your terminal

tomes works in any terminal. A few things depend on it:

| Feature | Needs |
|----|----|
| Images with real pixels | Kitty, Ghostty, WezTerm, iTerm2, foot, or another terminal with the Kitty, iTerm2, or Sixel protocol (see [Images](images.md)) |
| The book's colors | 24-bit color; otherwise tomes picks the nearest of 256 colors |
| Clickable links | OSC 8 hyperlinks (most modern terminals) |
| Copying over SSH | OSC 52 (most modern terminals; tmux with `set-clipboard on`) |
