uv is a fast, all-in-one Python package and project manager written in Rust, developed by Astral (creators of Ruff). It replaces pip, virtualenv, pyenv, and pipx.
Since Fedora Silverblue is an immutable OS, the recommended way is the official
installer script, which places uv in ~/.local/bin — no system modifications needed.
curl -LsSf https://astral.sh/uv/install.sh | shThen reload your shell:
source ~/.bashrc
# or for zsh:
source ~/.zshrcVerify:
uv --versionIf the uv command is not found after installation:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcuv self update| ❌ Don't do this | Why |
|---|---|
rpm-ostree install uv |
uv is not in Fedora's repositories |
sudo dnf install uv |
Doesn't work on an immutable system |
| Installing inside Toolbox | Works but unnecessary — home dir is fine |
uv init my-project # create a new project
uv add requests # add a dependency
uv run main.py # run a script
uvx black my_file.py # run a CLI tool (like pipx)