Skip to main content

Add A uv Global Tool

This setup uses uv for:

  • managing Python versions from ~/.python-version
  • managing globally-installed tools via uv tool install

Preconditions

  • uv is installed.
  • You verified the tool package name.

Steps

  1. Edit the template:

    It installs as ~/.default-uv-tools.

  2. Apply:

    chezmoi apply

Hook:

Verification

uv tool list

Rollback / Undo

  1. Remove the tool from home/readonly_dot_default-uv-tools.tmpl.
  2. Re-apply:
chezmoi apply