docs: Simplify installation guide with uv (#1196)

Given that we already switched to uv in other places. We should
recommend uv in README's installation guide as well. It's a lot simpler.
This commit is contained in:
Yuan Tang 2025-02-21 00:05:47 -05:00 committed by GitHub
parent 35de423556
commit 16e3d99942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,18 +78,14 @@ You have two ways to install this repository:
```
* **Install from source**:
If you prefer to install from the source code, make sure you have [conda installed](https://docs.conda.io/projects/conda/en/stable).
If you prefer to install from the source code, we recommend using [uv](https://github.com/astral-sh/uv).
Then, run the following commands:
```bash
mkdir -p ~/local
cd ~/local
git clone git@github.com:meta-llama/llama-stack.git
conda create -n stack python=3.10
conda activate stack
cd llama-stack
pip install -e .
uv sync
uv pip install -e .
```
### Documentation