Installing Leo using uv

53 views
Skip to first unread message

Satheesh Vattekkat

unread,
Dec 7, 2025, 11:00:35 PM (4 days ago) Dec 7
to leo-editor
I recently got a new machine and also recently had started playing with Astral uv. So far, I was using Leo from git with pip. Thought of trying installation with uv - turned out to be the simplest and fastest of the lot. This is on Linux (Mint and CachyOS) with uv being installed from System -> Software -> Add menu.

In fact, it is too straight forward that I am wondering if it is the right way :) My outlines worked fine and I edited few files too. Sharing, in case if it is useful.

```

mkdir leo-editor

cd leo-editor

uv init .

uv add docutils leo

# make launcher script

wget https://raw.githubusercontent.com/leo-editor/leo-editor/refs/heads/devel/launchLeo.py

# run and test

uv run launchLeo.py


# to upgrade leo

uv sync -U

```

Edward K. Ream

unread,
Dec 9, 2025, 6:45:46 AM (3 days ago) Dec 9
to leo-e...@googlegroups.com
On Sun, Dec 7, 2025 at 10:00 PM Satheesh Vattekkat <vsb...@gmail.com> wrote:

I recently got a new machine and also recently had started playing with Astral uv. So far, I was using Leo from git with pip. Thought of trying installation with uv - turned out to be the simplest and fastest of the lot. This is on Linux (Mint and CachyOS) with uv being installed from System -> Software -> Add menu.

In fact, it is too straight forward that I am wondering if it is the right way :) My outlines worked fine and I edited few files too. Sharing, in case if it is useful.

Hi Satheesh,

Thanks for checking in. This is the first I've heard of uv, but I'm glad it works for you.

Edward

HaveF HaveF

unread,
Dec 9, 2025, 9:02:24 PM (3 days ago) Dec 9
to leo-editor

This is the first I've heard of uv, but I'm glad it works for you.

uv tools have become very popular now, mainly because it is very fast. 

Currently, many of my scripts are of this type(inline dependencies): Running scripts | uv
If you have not tried it yet, I suggest you try it!


John Clark

unread,
Dec 10, 2025, 3:07:03 PM (2 days ago) Dec 10
to leo-editor
Actually, uv has been mentioned many times in this group (including myself) going back more than a year. Search the group for "astral" to find most of the occurrences.

John Clark

unread,
Dec 10, 2025, 3:09:17 PM (2 days ago) Dec 10
to leo-editor
'uv' also provides the 'uvx' tool, which allows you to get Leo up and running in a single command:

uvx leo

uvx has heaps of options, including options to specify a specific version of leo (otherwise the default is to use the latest version)

Cheers

HaveF HaveF

unread,
Dec 10, 2025, 6:50:29 PM (2 days ago) Dec 10
to leo-e...@googlegroups.com
uvx leo
Wow!
Since my Leo has always worked, I haven't reinstalled it. Thank you for letting me know that this works! 
Reply all
Reply to author
Forward
0 new messages