RSSAmplifier

Akshit Kumar's index.html · Oct 24, 2025

Custom uv Environments and Caches with direnv

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

When working on turing/ada, it is useful to install python packages on the /scratch directory instead of .venv . Fortunately, the blessed people at uv have a specific command for this. # .envrc export UV_PROJECT_ENVIRONMENT = /scratch/venvs/myproj export UV_CACHE_DIR = /scratch/uv_cache Add it to direnv and then run direnv allow to approve. Test using: uv add tqdm pip # only to be able to >pip…

Read on akshit.one

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.