Skip to content

Commit 2a3b689

Browse files
authored
Update installation instructions for Corepack and PNPM (#4308)
docs: update installation instructions for Corepack and PNPM
1 parent d4316f1 commit 2a3b689

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ https://nextra.site
1111

1212
### Installation
1313

14-
The Nextra repository uses [PNPM Workspaces](https://pnpm.io/workspaces) and
15-
[Turborepo](https://github.com/vercel/turborepo). To install dependencies, run
16-
`pnpm install` in the project root directory.
14+
The Nextra repository uses [PNPM Workspaces](https://pnpm.io/workspaces) and [Turborepo](https://github.com/vercel/turborepo).
15+
16+
1. Run `corepack enable` to enable Corepack.
17+
18+
> If the command above fails, run `npm install -g corepack@latest` to install the latest version of [Corepack](https://github.com/nodejs/corepack?tab=readme-ov-file#manual-installs).
19+
20+
2. Run `pnpm install` to install the website's workspace dependencies.
1721

1822
### Build `nextra`
1923

0 commit comments

Comments
 (0)