Skip to content

Commit 6a244ff

Browse files
committed
add pnpm add commands
1 parent 71defdc commit 6a244ff

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

installation.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ icon: "terminal"
3030
```
3131

3232
```bash pnpm
33-
pnpm i -g mint
33+
pnpm add -g mint
3434
```
3535
</CodeGroup>
3636

@@ -62,9 +62,15 @@ mint update
6262

6363
If this `mint update` command is not available on your local version, re-install the CLI with the latest version:
6464

65-
```bash
66-
npm i -g mint@latest
67-
```
65+
<CodeGroup>
66+
```bash npm
67+
npm i -g mint@latest
68+
```
69+
70+
```bash pnpm
71+
pnpm add -g mint@latest
72+
```
73+
</CodeGroup>
6874

6975
## Custom ports
7076

@@ -158,7 +164,7 @@ If you use JetBrains, we recommend the [MDX IntelliJ IDEA plugin](https://plugin
158164
```
159165
3. Reinstall the new package:
160166
```bash
161-
npm install -g mint
167+
npm i -g mint
162168
```
163169
</Accordion>
164170
</AccordionGroup>

quickstart.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,15 @@ The code-based workflow integrates with your existing development environment an
8282

8383
To work locally with your documentation, install the Command Line Interface (CLI), called [mint](https://www.npmjs.com/package/mint), by running this command in your terminal:
8484

85-
```bash
86-
npm i -g mint
87-
```
85+
<CodeGroup>
86+
```bash npm
87+
npm i -g mint
88+
```
89+
90+
```bash pnpm
91+
pnpm add -g mint
92+
```
93+
</CodeGroup>
8894

8995
<Info>
9096
You need Node.js installed on your machine. If you encounter installation issues, check the troubleshooting guide.

0 commit comments

Comments
 (0)