Cabal vs uv
Cabal
haskell.orguv
docs.astral.shSide by side
| Figure | Cabal | uv |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Package Managers | 8.6 (#18) | 8.9 (#4) |
| Dependency resolution | Yes | Yes |
| Distribution | Cabal packages use compressed .tar.gz tarballs and the package format can be translated into native formats such as RPM or deb. | uv can be installed with a standalone installer, PyPI, Homebrew, MacPorts, WinGet, Scoop, Docker, GitHub Releases, or Cargo. |
| Free plan | Yes | Yes |
| Lockfile support | Yes | Yes |
| Offline installation | Yes | Yes |
| Package formats | .cabal files; .tar.gz source distributions; RPM; Debian packages; Windows installers | source distributions,wheels,requirements.txt,pylock.toml |
| Purpose | Cabal is a system for building and packaging Haskell libraries and programs. | uv is an extremely fast Python package and project manager written in Rust. |
| Security | The official Cabal pages opened here do not state a security certification or compliance standard. | uv uses TLS with rustls and bundled Mozilla root certificates by default to verify HTTPS connections. |
| Supported platforms | Linux; macOS; FreeBSD; Windows | macOS,Linux,Windows,CPython,PyPy,Pyodide,GraalPy |
| Workspace support | Yes | Yes |
Plans
In their own words
uv
uv is a Python package and project manager for Linux, macOS, and Windows. Written in Rust, it manages dependencies and environments, with lockfiles and workspaces, and can install, list, pin, or uninstall Python versions. It also runs scripts with dependencies and runs or installs command-line tools from Python packages. Its pip-compatible interface is intended to cover work done by tools such as pip, pip-tools, pipx, poetry, pyenv, twine, and virtualenv, though its commands do not exactly match those tools. The documentation describes uv as 10–100x faster than pip. It supports source distributions, wheels, requirements.txt, and pylock.toml, as well as offline installation and private registry authentication. For package selection, its default first-index strategy limits candidates to the first index where a package is found. Credentials are not stored in uv.lock, but uv currently stores them in a plaintext file; native system secret storage is an experimental preview. The free plan is free.