add uv-based installation instructions #3

Merged
adina merged 1 commit from install into main 2025-11-17 14:06:42 +00:00

View file

@ -0,0 +1,25 @@
DataLad is available on all major operating systems, for example via ``pip``, ``conda``, ``apt``, ``brew``; See [handbook.datalad.org/r.html?install](https://handbook.datalad.org/r.html?install) for an overview.
Unless you know better, you can use ``uv`` to install DataLad and its requirements: [https://docs.astral.sh/uv/getting-started/installation/#standalone-installer](https://docs.astral.sh/uv/getting-started/installation/#standalone-installer)
Afterwards, first install [git-annex](https://git-annex.branchable.com):
```
uv tool install git-annex
```
Next, you can install DataLad via ``uv``.
It is useful to include the optional ``datalad-next`` extension and enable it:
```
uv tool install datalad --with-executables-from datalad-next
```
```
git config --global --add datalad.extensions.load next
```
To verify the installation, run the following command - it should show a version for "cmd:git" and "cmd:annex"
```
datalad wtf -S dependencies
```