Environment variables (.env files)
Environment Variables is an editor for .env files. Open it from the left menu under Utilities.
What it is for
Section titled “What it is for”Some apps read their settings from a .env file, for example Discord bots, web apps, and scripts. This page lets you edit those files without opening them by hand in Files.
What you can do
Section titled “What you can do”- Pick which file to edit:
.env,.env.local,.env.test,.env.development, or.env.production. - Filter the list by All, Production, Local, Test, Development, or Other.
- Switch between UI View (a list of variables) and File View (the raw file).
- Add Variable to add a new one.
- Import and Export the file.
- Refresh the list, or Delete File to remove the file.
If there are no variables yet, the page says so and you can add your first one.
Back up first if you delete a file. See Backups.