---
title: "Switching from virtualenvwrapper to direnv, Starship, and uv"
description: "!https://treyhunner.com/2024/10/switching-from-virtualenvwrapper-to-direnv-starship-and-uv/"
date: 2024-12-24
published: true
tags:
  - python
  - thought
  - uv
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://treyhunner.com/2024/10/switching-from-virtualenvwrapper-to-direnv-starship-and-uv/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://www.gravatar.com/avatar/93a988bd85040f58f8417dc4be78c7de?s=500" alt="Switching from virtualenvwrapper to direnv, Starship, and uv — Earlier this week I considered whether I should finally switch away from virtualenvwrapper to using local .venv managed by direnv. I’ve never …" loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Switching from virtualenvwrapper to direnv, Starship, and uv</div>
      <div class="embed-card-description">Earlier this week I considered whether I should finally switch away from virtualenvwrapper to using local .venv managed by direnv. I’ve never …</div>
      <div class="embed-card-meta">treyhunner.com</div>
    </div>
  </a>
</div>


I've kinda fallen out of using direnv now that a lot of my projects use hatch, I generally just hatch shell into them.  I just need to make sure I go through all of them and make my installer uv.  Now I've been thinking about making uv my only needed dependency to run a python project and leaning more to something like `uv run --with . uvicorn myapp --reload`
