Skip to main content

Read the shared environment model

Desktop import and export workflows operate on the same environment records used by CLI and automation.

Import a Local File

From the Variables view, choose Import .env File… to parse a local environment file and push its entries into the current Ghostable environment. Desktop preserves useful details from the imported file, including disabled variables, then writes the resulting state back through the encrypted environment workflow. Ghostable desktop variables view showing the main variable list and the import and export controls in the toolbar.

Export Back to Disk

From the same Variables view, use the export button to write the current environment into a local .env.<environment> file. Desktop requires a linked project folder before export is enabled, because it uses that folder as the default destination. Ghostable desktop export confirmation showing the .env.production destination path inside the linked project folder.

Export Safety

When Desktop exports to an existing file path, it performs a replacement workflow and creates a backup before writing the new file.
Export produces plaintext local files. Keep the destination inside the trusted project folder and handle the output according to your team’s secret-management policy.

Continue