How do I export an env file?

Click the Export button in the editor footer. A dialog opens showing the full file contents as plain text, with a Copy to clipboard button. Works on encrypted files too — it exports the decrypted version.