Skip to content

Instantly share code, notes, and snippets.

@fedir
Created May 25, 2026 11:45
Show Gist options
  • Select an option

  • Save fedir/6bee42f072ed480f69f85f616aee727c to your computer and use it in GitHub Desktop.

Select an option

Save fedir/6bee42f072ed480f69f85f616aee727c to your computer and use it in GitHub Desktop.
Installing uv on Fedora Silverblue

Installing uv on Fedora Silverblue

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.

Install

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 | sh

Then reload your shell:

source ~/.bashrc
# or for zsh:
source ~/.zshrc

Verify:

uv --version

Add to PATH (if needed)

If the uv command is not found after installation:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Update

uv self update

What to avoid on Silverblue

❌ 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

Quick usage

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)

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment