docs: Simplify installation guide with uv

This commit is contained in:
Yuan Tang 2025-02-20 23:04:06 -05:00 committed by GitHub
parent 35ae0e16a1
commit 40fa74bd11
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