Skip to content
Snippets Groups Projects
Unverified Commit d1e1de4a authored by yisding's avatar yisding Committed by GitHub
Browse files

Merge pull request #243 from run-llama/ms/add-create-llama-doc

doc: added create-llama
parents 23587e17 52bc1d83
No related branches found
No related tags found
No related merge requests found
...@@ -4,15 +4,53 @@ sidebar_position: 1 ...@@ -4,15 +4,53 @@ sidebar_position: 1
# Installation and Setup # Installation and Setup
## Installation from NPM
Make sure you have NodeJS v18 or higher. Make sure you have NodeJS v18 or higher.
## Using create-llama
The easiest way to get started with LlamaIndex is by using `create-llama`. This CLI tool enables you to quickly start building a new LlamaIndex application, with everything set up for you.
Just run
<Tabs>
<TabItem value="1" label="npm" default>
```bash
npx create-llama@latest
```
</TabItem>
<TabItem value="2" label="Yarn">
```bash
yarn create llama
```
</TabItem>
<TabItem value="3" label="pnpm">
```bash
pnpm create llama@latest
```
</TabItem>
</Tabs>
to get started. Once your app is generated, run
```bash npm2yarn
npm run dev
```
to start the development server. You can then visit [http://localhost:3000](http://localhost:3000) to see your app
## Installation from NPM
```bash npm2yarn ```bash npm2yarn
npm install llamaindex npm install llamaindex
``` ```
## Environment variables ### Environment variables
Our examples use OpenAI by default. You'll need to set up your Open AI key like so: Our examples use OpenAI by default. You'll need to set up your Open AI key like so:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment