Ask coding questions

← Back to all posts
Hey Why cant i do .env
MelonStudiosStu

pls help .................. .................................. ................. ................................................... ................ ...................................

Comments
hotnewtop
Coder100

For easier use, .env files have moved. Click on the lock icon instead

https://docs.replit.com/repls/secrets-environment-variables

IMayBeMe

.env files have been removed, click the little lock icon in the side of your screen for storing secrets.

MikeJMS8910

You can't just leave it blank. .env is like the file type it's not an actual name. It's like naming a picture just .jpg. If I were you i'd just name it something like token.env

ANDREWVOSS

@MikeJMS8910 No, that's just not true. Most computers have plenty of files like that, such as .bashrc and .gitignore. Replit specifically had .env for storing secrets, but that's been moved to the lock icon on the left side.