Skip to main content

Installation

Install tomes with uv, pipx, cargo, or a binary

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:

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

With cargo

cargo install tomes

A binary

Every release 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

tomes --version

Then read the Quick start.

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)
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)