Install¶
fitdocs is a Python command-line tool published on PyPI. It needs Python 3.11 or newer. Install it as a standalone app with either of the standard tools:
Both install fitdocs in its own environment and put the fitdocs command on your PATH, without touching any other Python project. If you don't have either one, uv is a single download, and it will fetch a suitable Python version for you.
fitdocs brings DuckDB with it, about 44 MB installed, to power the analytics index. DuckDB has no prebuilt package for musl-based Linux (such as Alpine) or free-threaded Python builds, so on those you'll need a working build toolchain.
Check that it worked:
Installing doesn't create anything. No config file, no profile, no data folder. fitdocs writes nothing until you run a command and point it at a folder.
Hand it to your LLM. If you work with a coding agent (Claude Code, Codex, or similar), you can let it do the install:
"Install the
fitdocscommand-line tool from PyPI usinguv tool install fitdocs(orpipx install fitdocsif uv isn't available), then runfitdocs --versionto confirm it's on my PATH."
Upgrade¶
An upgrade never touches your data folder, your settings, your athlete profile, your notes, or your archived .fit files. If a release changes the document format, fitdocs check will tell you, and one command brings every page up to date:
regen rebuilds every page from the archived .fit files. You don't need the original exports, and you don't import anything again. Your notes are kept exactly as they are.
If a release needs more than that, its entry in the changelog says what to run.
Uninstall¶
Uninstalling removes the tool, not your data. Your workout pages, archives, settings, and athlete profile stay where they are. So do the two things fitdocs keeps outside your data root: the analytics index in ~/.cache/fitdocs/index/ and any connector keys in ~/.config/fitdocs/credentials/ (or wherever you pointed them). Delete those yourself if you don't need them.
Install from source¶
To run unreleased changes or to contribute, install from a clone of the repository:
See CONTRIBUTING.md for the development setup.
Next: Quickstart →