---
title: "What is the current best way to make Claude Code use uv run instead of python?"
date: 2025-07-06
canonical: https://solmaz.io/x/1941818382182916491/
x_url: https://x.com/onusoz/status/1941818382182916491
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

What is the current best way to make Claude Code use uv run instead of python?

I have added instructions to CLAUDE md, but it still calls python for the first time, then corrects to uv run

It must be happening to so many people now, so many tokens wasted
cc @mitsuhiko @simonw
