docs(env): update dotenv install command (#4261)

This commit is contained in:
Seren_Modz 21
2025-07-24 10:53:34 +05:30
committed by GitHub
parent 3b4cdf6b69
commit 0ab543d02e
+2 -2
View File
@@ -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: