Skip to content

Commit 4bccce0

Browse files
committed
docs: fix install command
1 parent 9ba2179 commit 4bccce0

12 files changed

Lines changed: 95 additions & 58 deletions

apps/website/docs/guide/05-official-plugins/01-commandkit-ai.mdx

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ language models.
4141
Install the plugin and your preferred AI SDK:
4242

4343
```bash npm2yarn
44-
npm install @commandkit/ai@next
44+
npm install @commandkit/ai
4545
```
4646

4747
You also need to install the AI SDK for the model you want to use. For
@@ -67,17 +67,21 @@ export default defineConfig({
6767
});
6868
```
6969

70-
Then create an AI configuration file to set up your AI model. This can be done in two ways, one via CLI and another manually.
70+
Then create an AI configuration file to set up your AI model. This can
71+
be done in two ways, one via CLI and another manually.
7172

7273
### With CLI
7374

74-
Use the following command to automatically generate `ai.ts` (or js) file in the project:
75+
Use the following command to automatically generate `ai.ts` (or js)
76+
file in the project:
7577

7678
```sh
7779
commandkit create ai
7880
```
7981

80-
This command creates `ai.ts` (or js) file inside the `src` directory with openai o3-mini model. You can change it to any other supported models if needed.
82+
This command creates `ai.ts` (or js) file inside the `src` directory
83+
with openai o3-mini model. You can change it to any other supported
84+
models if needed.
8185

8286
### Manual
8387

@@ -274,9 +278,10 @@ configureAI({
274278

275279
### Selectively enabling built-in tools
276280

277-
In many cases, you may not need all built-in tools. You can selectively enable
278-
specific tools by disabling built-in tools and then manually adding only the
279-
ones you need using the exported `defaultTools` record:
281+
In many cases, you may not need all built-in tools. You can
282+
selectively enable specific tools by disabling built-in tools and then
283+
manually adding only the ones you need using the exported
284+
`defaultTools` record:
280285

281286
```ts title="src/ai.ts"
282287
import { createGoogleGenerativeAI } from '@ai-sdk/google';
@@ -309,8 +314,9 @@ configureAI({
309314
});
310315
```
311316

312-
This approach gives you full control over which built-in tools are available to
313-
the AI, making your implementation cleaner and more intentional.
317+
This approach gives you full control over which built-in tools are
318+
available to the AI, making your implementation cleaner and more
319+
intentional.
314320

315321
## Creating custom tools
316322

apps/website/docs/guide/05-official-plugins/02-commandkit-analytics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data itself.
1313
Install the analytics package to get started:
1414

1515
```bash npm2yarn
16-
npm install @commandkit/analytics@next
16+
npm install @commandkit/analytics
1717
```
1818

1919
## How it works

apps/website/docs/guide/05-official-plugins/03-commandkit-cache.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ improving response times and reducing external service usage.
1313
Install the cache package to get started:
1414

1515
```bash npm2yarn
16-
npm install @commandkit/cache@next
16+
npm install @commandkit/cache
1717
```
1818

1919
## Setup

apps/website/docs/guide/05-official-plugins/04-commandkit-devtools.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ only. Features and APIs may change in future releases.
3333
Install the devtools plugin using your preferred package manager:
3434

3535
```sh npm2yarn
36-
npm install @commandkit/devtools@next
36+
npm install @commandkit/devtools
3737
```
3838

3939
## Setup

apps/website/docs/guide/05-official-plugins/05-commandkit-i18n.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interactions.
2828
## Installation
2929

3030
```sh npm2yarn
31-
npm install @commandkit/i18n@next
31+
npm install @commandkit/i18n
3232
```
3333

3434
## Basic setup

apps/website/docs/guide/05-official-plugins/06-commandkit-legacy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ major changes to your existing code.
1919
## Installation
2020

2121
```sh npm2yarn
22-
npm install @commandkit/legacy@next
22+
npm install @commandkit/legacy
2323
```
2424

2525
## Usage

apps/website/docs/guide/05-official-plugins/08-commandkit-tasks.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cleanup, the tasks plugin has you covered.
1010
## Installation
1111

1212
```bash
13-
npm install @commandkit/tasks@next
13+
npm install @commandkit/tasks
1414
```
1515

1616
## Basic setup
@@ -160,11 +160,10 @@ export default defineConfig({
160160
});
161161
```
162162

163-
:::warning
164-
Avoid loading the code that keeps the event loop alive inside the build process.
165-
Otherwise the build command will never exit. Use the helper functions such as `buildOnly()` or `noBuildOnly()`
166-
to conditionally load the code in appropriate places.
167-
:::
163+
:::warning Avoid loading the code that keeps the event loop alive
164+
inside the build process. Otherwise the build command will never exit.
165+
Use the helper functions such as `buildOnly()` or `noBuildOnly()` to
166+
conditionally load the code in appropriate places. :::
168167

169168
## Creating your first task
170169

apps/website/docs/guide/05-official-plugins/09-commandkit-queue.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ multiple services using a simple, unified interface.
1919
## Installation
2020

2121
```bash
22-
npm install @commandkit/queue@next
22+
npm install @commandkit/queue
2323
```
2424

2525
For Discord.js integration with Redis:
2626

2727
```bash
28-
npm install @commandkit/queue@next @discordjs/brokers ioredis
28+
npm install @commandkit/queue @discordjs/brokers ioredis
2929
```
3030

3131
## Basic setup

apps/website/docs/guide/08-advanced/01-setup-commandkit-manually.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ manually into your application.
1616
To install CommandKit, you can use the following command:
1717

1818
```sh npm2yarn
19-
npm install commandkit@next
19+
npm install commandkit
2020
```
2121

2222
## Configuration file

apps/website/docs/guide/08-advanced/04-migrating-from-v0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enhanced developer experience features.
3636
Begin your migration by updating to the latest version of CommandKit:
3737

3838
```bash npm2yarn
39-
npm install commandkit@next
39+
npm install commandkit
4040
```
4141

4242
This command will install CommandKit v1 and update your `package.json`

0 commit comments

Comments
 (0)