diff --git a/docs/src/contents/01.getting-started/02.Installation.mdx b/docs/src/contents/01.getting-started/02.Installation.mdx index 904e5c3ed..46804d0a6 100644 --- a/docs/src/contents/01.getting-started/02.Installation.mdx +++ b/docs/src/contents/01.getting-started/02.Installation.mdx @@ -89,9 +89,17 @@ First, clone the LifeForge monorepo to your local machine or your server. You ca Then, install the dependencies by running the following command: -{'cd lifeforge && bun install'} +{'cd lifeforge && bun install --linker isolated'} + +### Using `--linker isolated` + +By default, Bun uses a global cache for dependencies. However, in a monorepo setup like LifeForge, this can lead to issues with dependency resolution. To avoid these issues, we recommend using the `--linker isolated` flag when installing dependencies. This will ensure that each package in the monorepo has its own isolated set of dependencies to prevent phantom dependency issues. + +When doing deployment on a server, make sure to always use the `--linker isolated` flag when running `bun install`. + + That's pretty much it for the installation of the system itself. Now, let's move on to the installation of the database.