Skip to content

Commit 0738ea6

Browse files
sangbidarustyrussell
authored andcommitted
doc: Add macOS uv instructions to installations.md
Changelog-None
1 parent 5345e71 commit 0738ea6

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

doc/getting-started/getting-started/installation.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,14 @@ export CPATH=/opt/homebrew/include
344344
export LIBRARY_PATH=/opt/homebrew/lib
345345
```
346346

347-
If you need Python 3.x for mako (or get a mako build error):
347+
Install uv for Python dependency management:
348348

349349
```shell
350-
brew install pyenv
351-
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
352-
source ~/.bash_profile
353-
pyenv install 3.9
354-
pip install --upgrade pip
355-
pip install poetry==2.0.1
350+
curl -LsSf https://astral.sh/uv/install.sh | sh
356351
```
357352

353+
After installing uv, restart your shell or run `source ~/.zshrc` to ensure `uv` is in your PATH.
354+
358355
If you don't have bitcoind installed locally you'll need to install that as well:
359356

360357
```shell
@@ -382,9 +379,9 @@ git checkout v24.05
382379
Build lightning:
383380

384381
```shell
385-
poetry install
382+
uv sync --all-extras --all-groups
386383
./configure
387-
poetry run make
384+
uv run make
388385
```
389386

390387
Running lightning:

0 commit comments

Comments
 (0)