From 0ab543d02ed0e761525b36ef545e1e13609cad6d Mon Sep 17 00:00:00 2001 From: Seren_Modz 21 Date: Thu, 24 Jul 2025 06:23:34 +0100 Subject: [PATCH] docs(env): update dotenv install command (#4261) --- website/docs/beginner/env.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/beginner/env.md b/website/docs/beginner/env.md index 3055564f2..b2ab2d7f4 100644 --- a/website/docs/beginner/env.md +++ b/website/docs/beginner/env.md @@ -44,9 +44,9 @@ You need to add this flag before the file you want to run also if you have multi If you don't want or can't use the `--env-file` option you can do it with the `dotenv` package -First of all you need to install the `dotenv` package along it's type if you are using TypeScript +First of all you need to install the `dotenv` package -`npm install dotenv @types/dotenv --save-dev` +`npm install dotenv` _or using yarn, pnpm or bun_ We now need to load the `.env` from our code so let's add the following code to your typescript file: