Skip to content

Commit 9215063

Browse files
authored
docs: fix double period typo and standardize CLI commands (#5)
* fix(docs): fix double period typo and standardize CLI commands * docs: update installation instructions for specific components in README
1 parent 4457c85 commit 9215063

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The CLI makes it easy to add these components to your Next.js project.
1313
You can use the ElevenLabs Agents CLI directly with npx, or install it globally:
1414
```bash
1515
# Use directly (recommended)
16-
npx @elevenlabs/agents-cli@latest components add
16+
npx @elevenlabs/agents-cli@latest components add <component-name>
1717

1818
# Or using shadcn cli
1919
npx shadcn@latest add https://ui.elevenlabs.io/r/all.json
@@ -27,25 +27,25 @@ Before using ElevenLabs UI, ensure your Next.js project meets these requirements
2727

2828
## Usage
2929

30-
### Install All Components
30+
### Install All Components
3131
Install all available ElevenLabs UI components at once:
3232
```bash
33-
npx @elevenlabs/agents-cli@latest components add
33+
npx @elevenlabs/agents-cli@latest components add all
3434
```
3535
This command will:
3636
- Set up shadcn/ui if not already configured
3737
- Install all ElevenLabs UI components to your configured components directory
3838
- Add necessary dependencies to your project
3939

40-
### Install Specific Components
41-
Install individual components using the `add` command:
40+
### Install Specific Components
41+
Install individual components using the `components add` command:
4242
```bash
43-
npx @elevenlabs/agents-cli@latest add <component-name>
43+
npx @elevenlabs/agents-cli@latest components add <component-name>
4444
```
4545
Examples:
4646
```bash
4747
# Install the orb component
48-
npx @elevenlabs/agents-cli@latest add orb
48+
npx @elevenlabs/agents-cli@latest components add orb
4949
```
5050

5151
### Alternative: Use with shadcn CLI

apps/www/content/docs/(root)/setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Installing ElevenLabs UI components is straightforward and can be done in a coup
1515
<TabsContent value="elevenlabs">
1616

1717
```bash
18-
npx @elevenlabs/agents-cli@latest add orb
18+
npx @elevenlabs/agents-cli@latest components add orb
1919
```
2020

2121
</TabsContent>
@@ -42,6 +42,6 @@ Before installing ElevenLabs UI, make sure your environment meets the following
4242

4343
You can install ElevenLabs UI components using either the `@elevenlabs/agents-cli` CLI or the `shadcn/ui` CLI. Both achieve the same result: adding the selected component’s code and any needed dependencies to your project.
4444

45-
The CLI will download the components code and integrate it into your projects directory (usually under your components folder)..
45+
The CLI will download the component's code and integrate it into your project's directory (usually under your components folder).
4646

4747
After running the command, you should see a confirmation in your terminal that the files were added. You can then proceed to use the component in your code.

0 commit comments

Comments
 (0)