From e841c3197080bb7d4e45ba5131ef6aac6eab08ff Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 24 Feb 2023 14:06:24 +0100 Subject: [PATCH] Update docs/docs/how-to-install-packages.md Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com> --- docs/docs/how-to-install-packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how-to-install-packages.md b/docs/docs/how-to-install-packages.md index 9f49c25364..5eef9cb156 100644 --- a/docs/docs/how-to-install-packages.md +++ b/docs/docs/how-to-install-packages.md @@ -8,7 +8,7 @@ tags: # Best practices for installing packages in Strapi -When working with the Strapi mono repo, it's important to follow best practices for installing packages to avoid potential issues and ensure consistent results. Instead of using the standard **`yarn add`** command, we recommend using **`yarn lerna add --scope @strapi/`** for installing packages. +When working with the Strapi monorepo, it's important to follow best practices for installing packages to avoid potential issues and ensure consistent results. Instead of using the standard **`yarn add`** command, we recommend using **`yarn lerna add --scope @strapi/`** for installing packages. This approach uses Lerna, a tool for managing JavaScript projects with multiple packages, to ensure that the package is installed in the correct location and version across all modules. The **`--scope`** flag specifies the specific module that the package should be installed in, ensuring that it's only installed where it's needed.