Install latest/stable of uvenv
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
uvenv is a simple command-line tool for managing virtual environments, written in Rust. Think of it as pipx, but for uv.
📖 Full documentation: https://github.com/robinvandernoord/uvenv
Getting started
snap install uvenv
Snap Installation Caveats
When installed via Snap, there are some important differences to note:
~/snap/uvenv/<revision>/.local/uvenv instead of ~/.local/uvenv~/snap/uvenv/<revision>/.local/bin instead of ~/.local/bin~/.bashrc or perform self-updates.Setting Up Bash Integration
To enable all Bash-specific features, add the following lines to your ~/.bashrc:
eval "$(uvenv --generate=bash ensurepath)" # Required: Fix PATH
eval "$(uvenv --generate=bash completions)" # Optional: Enable tab completion
eval "$(uvenv --generate=bash activate _)" # Optional: Enable the `uvenv activate` command
For other shells, run:
uvenv setup
This will display the appropriate setup instructions for your shell.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.