Ask coding questions

← Back to all posts
Renaming to .env
h
Larkify (0)

Is there a reason why replit doesn't let you name files .env because it's kinda annoying....

Comments
hotnewtop
Coder100 (16903)

.env are special files. Replit is weird about special files.

Anyways, it's a bug: https://replit.com/bugs

SixBeeps (5052)

@Coder100 lol i wouldn't say it's a bug, it specifically says you can't :p

Coder100 (16903)

fine
it's a bug that it limits you to do that @SixBeeps

SixBeeps (5052)

My guess is that the .env file can only get properly "linked" (can't think of a better word) to the Repl when the file is created. For the time being, just stick to making it into a new file.