From 7ee3fe45eba03332b3654c19e66d3e17934cb634 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Fri, 27 Sep 2024 13:46:19 +0800 Subject: [PATCH] docs: mention corepack, close #662 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abb738cf4..a9f432149 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,13 @@ If you have access, you are welcome to use the following methods to download and If you are eligible to use Follow, you are welcome to join the open source community to build together. -Before you start, you need to install pnpm and then use it to install dependencies: +Before you start, make sure you have enabled [Corepack](https://nodejs.org/api/corepack.html). Corepack makes sure you are using the correct version (`packageManager` field in `package.json`) for package manager when you run corresponding commands. + +```sh +corepack enable +``` + +Install dependencies. ```sh pnpm install