Skip to content

Commit a20bd59

Browse files
committed
Update installation docs
1 parent 1cd4346 commit a20bd59

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/src/modules/1-getting-started/2-start.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ Clone the modules repository to your local machine using `git` or your tool of c
1515
The modules repository pipelines rely on the [Yarn](https://yarnpkg.com/) package manager. To install the Yarn package manager through [NPM](https://www.npmjs.com/), you can run the following command in the development directory: `corepack enable`.
1616
This may prompt you to download the version of Yarn that this repository uses.
1717

18-
> [!TIP]
19-
> If you already have Yarn installed, you might find that you have a different version installed than the one used by the repository. Use the `yarn set version` command to install the correct version.
18+
> [!INFO] Corepack and Yarn
19+
> `corepack` is a tool that comes with NodeJS to help better manage the installation of package managers. Corepack allows the package manager to be defined at a package level, so
20+
> multiple packages on the same systems can use different versions of the same package manager, or even different package managers altogether.
21+
>
22+
> `corepack enable` should automatically install the version of Yarn used by the repository, but if you face issues using `corepack`, you can still use `npm` to install Yarn. You will however, need to run
23+
> `yarn set version` to change to the correct version of Yarn before working with the repository.
2024
2125
At this point it is not necessary to run `yarn install` yet to install dependencies. Depending on what you are doing, there are different methods for installing dependencies.
2226

0 commit comments

Comments
 (0)