diff --git a/templates/javascript-esm/.gitignore b/templates/javascript-esm/.gitignore
index 30bc1627..caa2994d 100644
--- a/templates/javascript-esm/.gitignore
+++ b/templates/javascript-esm/.gitignore
@@ -1 +1,2 @@
-/node_modules
\ No newline at end of file
+/node_modules
+.env
\ No newline at end of file
diff --git a/templates/javascript/.gitignore b/templates/javascript/.gitignore
index 30bc1627..caa2994d 100644
--- a/templates/javascript/.gitignore
+++ b/templates/javascript/.gitignore
@@ -1 +1,2 @@
-/node_modules
\ No newline at end of file
+/node_modules
+.env
\ No newline at end of file
diff --git a/templates/typescript/.gitignore b/templates/typescript/.gitignore
index b2d59d1f..c7fb7a47 100644
--- a/templates/typescript/.gitignore
+++ b/templates/typescript/.gitignore
@@ -1,2 +1,3 @@
 /node_modules
-/dist
\ No newline at end of file
+/dist
+.env
\ No newline at end of file