Logo
Getting Started

Installation

How to install llamaindex packages.

To install llamaindex, run the following command:

npm i llamaindex

In most cases, you'll also need an LLM package and the Workflow package to use LlamaIndex. For example, to use the OpenAI LLM with agents, you would install the following:

npm i @llamaindex/openai @llamaindex/workflow

Go to LLM APIs to find out how to use other LLMs.

Frameworks

LlamaIndex supports a wide range of frameworks and runtimes. Click on the card below to learn more.

What's next?

On this page