Logo

Installation

How to install llamaindex packages.

To install llamaindex, run the following command:

npm install 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 install @llamaindex/openai

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

What's next?

Edit on GitHub

Last updated on

On this page