Skip to main content

Import & Export

ENV Manager Pro can import variables from multiple sources and export them in the format your tools expect.

Import from Pasted Text

Run ENV Manager: Import from Pasted Text (or click the import icon in the Variables toolbar).

Paste any .env-formatted text:

DATABASE_URL=postgres://localhost/mydb
REDIS_URL=redis://localhost:6379
API_KEY=sk-abc123

The extension parses the pasted content and merges the variables into the active .env file. Existing keys are preserved; only new keys are added.

Import from File

Run ENV Manager: Import from File to pick any .env* file from a file dialog. All variables from that file are merged into the active file.

Export

Click Export Variables in the Variables panel toolbar. You'll see these export formats:

FormatOutput
JSON{ "KEY": "value" }
Shell (export)export KEY=value
.env (copy)Standard KEY=value format

The export opens in a new VS Code editor tab for you to copy or save.

CI/CD Export (Pro)

For exporting to CI/CD platforms, see CI/CD Export. This covers GitHub Actions, GitLab CI, CircleCI, Kubernetes, Dockerfile, and shell export formats.

Terminal Injection

The Terminal Injection Menu command lets you inject the variables from your active env file into an open integrated terminal session. This is useful for running one-off commands that need environment variables without permanently setting them in the shell profile.