Environments
Environment files use dotenv format and live in the .environments/ subdirectory of your collection.
File Format
Section titled “File Format”API_URL=https://api.example.comAPI_KEY=sk-prod-abc123USER_EMAIL=admin@example.comAPI_URL=https://staging-api.example.comAPI_KEY=sk-staging-xyz789USER_EMAIL=admin@example.comVariable Interpolation
Section titled “Variable Interpolation”Reference environment variables in your requests with {{var}} syntax:
url: "{{API_URL}}/users"headers: - key: Authorization value: "Bearer {{API_KEY}}" enabled: trueDisabling Variables
Section titled “Disabling Variables”Prefix a line with # to disable a variable:
# API_KEY=sk-old-keyDisabled variables are not available for substitution.
Badge Colors
Section titled “Badge Colors”Use _color in your .env file to set the sidebar badge color:
_color=greenAPI_URL=https://api.example.comDefault Environment
Section titled “Default Environment”Set the default environment in settings.yml:
environment: productionCycling Environments
Section titled “Cycling Environments”Press Ctrl+P to cycle through available environments in the TUI.
Environment Editor
Section titled “Environment Editor”Press e to open the full environment editor. The TUI switches to a split view:
- Sidebar (left) — lists all
.envfiles, shows color dots and an unsaved indicator (yellow bullet) - Header (top) — edit the environment name and pick a color badge
- Main — key/value grid with enable/disable checkboxes
Keybindings
Section titled “Keybindings”| Key | Action |
|---|---|
Ctrl+S |
Save environment |
Ctrl+N |
Create new environment |
Ctrl+K |
Clone selected environment |
Ctrl+W |
Delete environment (with confirmation) |
↑/↓ |
Navigate rows |
Return |
Edit field |
Tab |
Switch between key and value fields |
Space |
Select environment in sidebar |
Features
Section titled “Features”- Dirty tracking — unsaved changes show a yellow bullet
- Color badges — pick from 17 theme colors (green, blue, red, etc.)
- Disable variables — checkbox toggles a
#prefix in the.envfile - Clone — appends “ - Copy“ to the name, duplicates all vars