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 to use LlamaIndex. For example, to use the OpenAI LLM, you would install the following:

npm i @llamaindex/openai

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