A visual editor for mulle-sde environment files.
- Visual Environment Editing: Edit environment variables in a clean, modern interface
- Scope Management: Manage different environment scopes (project, global, host-specific, user-specific, etc.)
- Loading Order: Drag-and-drop interface to reorder environment loading priority
- Real-time Preview: See how your environment variables will be applied
- Recent Projects: Quick access to recently opened projects
- Cross-platform: Works on Linux, macOS, and Windows
# Clone the repository
git clone https://github.com/mulle-sde/mulle-environment-editor.git
cd mulle-environment-editor
# Install dependencies
npm install
# Run the application
npm startDownload the latest release for your platform from the releases page.
- Open a Project: Launch the application and click "Open Project" to select a directory containing a
.mullefolder - Select Environment Scope: Choose from available scopes in the sidebar (project, global, host-specific, etc.)
- Edit Variables:
- Add new variables with the "Add Variable" button
- Edit variable names, values, and comments inline
- Toggle variable enablement with checkboxes
- Remove variables with the delete button
- Reorder Loading Priority: Drag and drop scopes in the loading order section
- Save Changes: Click "Save" to write changes back to the environment files
This is the job mulle-sde and mulle-env do for you automatically. But
you can do this also manually.
After editing environment files, you need to source them to apply the changes to your shell:
# Source the environment into your current shell
cd /path/to/your/project
. .mulle/share/env/environment.shThis will load all environment variables according to their priority and scope applicability.
To preview what environment variables will be set without modifying your current shell:
# Run in a clean environment and display all variables
env -i bash -c '. .mulle/share/env/environment.sh && env | sort'
# Or export from the editor and test the exported script
env -i bash -c '. environment-export.sh && env | sort'The env -i command starts with an empty environment, so you can see exactly what the environment files set up.
The editor works with mulle-env environment file structure:
.mulle/etc/env/ # Local environment files
βββ environment-project.sh
βββ environment-global.sh
βββ environment-host-*.sh
βββ environment-user-*.sh
βββ environment-os-*.sh
βββ auxscope # Loading order configuration
.mulle/share/env/ # Shared environment files
βββ environment-extension.sh
βββ environment-plugin.sh
βββ environment.sh
MIT License - see LICENSE file for details.

