Skip to content

Commit 71defdc

Browse files
committed
add code group with pnpm back
1 parent 4143274 commit 71defdc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

installation.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@ icon: "terminal"
2424
<Step title="Install the CLI.">
2525
Run the following command to install the [CLI](https://www.npmjs.com/package/mint):
2626

27-
```bash
27+
<CodeGroup>
28+
```bash npm
2829
npm i -g mint
2930
```
3031

32+
```bash pnpm
33+
pnpm i -g mint
34+
```
35+
</CodeGroup>
36+
3137
</Step>
3238
<Step title="Preview locally.">
3339
Navigate to your docs directory (where your `docs.json` file is located) and execute the following command:
@@ -137,6 +143,8 @@ If you use JetBrains, we recommend the [MDX IntelliJ IDEA plugin](https://plugin
137143
</Accordion>
138144
<Accordion title="mintlify vs. mint package">
139145
If you have any problems with the CLI package, you should first run `npm ls -g`. This command shows what packages are globally installed on your machine.
146+
147+
If you don't use npm or don't see it in the -g list, try `which mint` to locate the installation.
140148

141149
If you have a package named `mint` and a package named `mintlify` installed, you should uninstall `mintlify`.
142150

0 commit comments

Comments
 (0)