---
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
  - uv
  - thought
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`

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
