LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

uv-add

Add dependencies to a uv Python project

TLDR

Add dependency
$ uv add [package]
copy
Add with version constraint
$ uv add [package]>=[version]
copy
Add dev dependency
$ uv add --dev [package]
copy
Add optional dependency
$ uv add --optional [group] [package]
copy

SYNOPSIS

uv add [options] packages...

DESCRIPTION

uv add adds dependencies to a Python project. Updates pyproject.toml and uv.lock. Automatically syncs the virtual environment with new dependencies. Part of uv, an extremely fast Python package manager.

PARAMETERS

--dev

Add as development dependency.
--optional group
Add to optional group.
--frozen
Don't update lockfile.
--no-sync
Don't sync environment.

INSTALL

sudo dnf install uv
copy
sudo pacman -S uv
copy
sudo apk add uv
copy
brew install uv
copy
nix profile install nixpkgs#uv
copy

SEE ALSO

uv(1), uv-remove(1), uv-sync(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid