add uv-based installation instructions #3
1 changed files with 25 additions and 0 deletions
25
datalad/installation-with-uv.md
Normal file
25
datalad/installation-with-uv.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue