diff --git a/.gitignore b/.gitignore
index dee6ee1991cf5af01032e2231f2afb0be23c517f..0f23d8a72205bcc642f3ae374b200f49d97f4273 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,7 @@
 .cargo
 
 # The cache for chain data in container
-.local
\ No newline at end of file
+.local
+
+# direnv cache
+.direnv