How to add .env file

How do you add a .env file? It will not allow me to

2 Likes

Hey @JacobLadouceur welcome to the forums!

Can I ask why you want to make a .env file since Replit already has secrets under the tools section on the left that are the same as a .env file

8 Likes

If you want to store private information that can be accessed using environment variables, use secrets. If you want to store information that should be accessible by anyone who can run the repl, use .replit and [env].

6 Likes