How to Install tf-peek¶
This guide covers the available methods for installing tf-peek into your environment.
Prerequisites¶
- Python 3.11 or later
pip,uv, orpipxavailable on yourPATH
Install with pip¶
Install with uv¶
uv tool install places the tf-peek binary in an isolated environment managed by uv, keeping it
separate from your project dependencies.
Install with pipx¶
pipx installs the tool in its own isolated virtual environment and exposes the tf-peek binary on
your PATH.
Verify the installation¶
After installing, confirm that the binary is available:
And that its help output is accessible:
If the installed package is available but its console script is not on PATH, use the supported
alternative invocation python -m tf_peek --help. Prefer tf-peek in documentation, scripts, and
interactive use.
Install a specific version¶
If you need a specific release: