> For the complete documentation index, see [llms.txt](https://docs.openalgo.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openalgo.in/installation-guidelines/getting-started/mac-os-installation/install-dependencies.md).

# Install Dependencies

Navigate to the directory where OpenAlgo is cloned and install `uv`, the package manager OpenAlgo uses:

```bash
cd openalgo
brew install uv    # or: pip3 install uv
```

`uv` creates the `.venv` virtual environment and resolves every dependency from `pyproject.toml` the first time you start OpenAlgo, so there is no separate install step:

```bash
uv run app.py
```

The first run takes a few minutes while the environment is built. Later runs start immediately.

If you prefer to install the dependencies ahead of time rather than on first launch, run:

```bash
uv sync
```

<figure><img src="/files/Iruw2v6qWFRKNzGXEBmH" alt=""><figcaption></figcaption></figure>
