A Windows utility for managing PATH environment variables. This tool allows you to view, edit, and clean up both USER and SYSTEM PATH variables.
- View and edit both USER and SYSTEM PATH variables
- Add, edit, and remove path entries
- Move entries up and down to change priority
- Remove duplicate entries
- Remove non-existent (dead) paths
- View statistics about your PATH variables
- Requires admin privileges only for SYSTEM PATH modifications
- Go to the Releases page
- Download the latest
path-editor.exe
file - Run the executable (no installation required)
- Clone the repository
- Install dependencies with uv:
uv pip install -e .
- Run the application:
python main.py
- The treeview displays both USER and SYSTEM PATH entries
- Select an entry to edit, remove, or move it
- Use the buttons on the right to perform actions
- Select either the USER or SYSTEM section in the treeview
- Click the "Add" button
- Enter the path in the dialog
- Select the path type (USER or SYSTEM)
- Click "OK"
- Select the path entry you want to edit
- Click the "Edit" button
- Modify the path in the dialog
- Optionally change the path type
- Click "OK"
- Select the path entry you want to remove
- Click the "Remove" button
- Confirm the deletion
- Select either the USER or SYSTEM section in the treeview
- Click "RM Duplicate" to remove duplicate entries in the selected section
- Click "RM Dead" to remove non-existent paths in the selected section
- Click "Save USER" to save changes to the USER PATH
- Click "Save SYSTEM" to save changes to the SYSTEM PATH (requires admin privileges)
- Click "Save Both" to save changes to both
- Clone the repository
- Install development dependencies:
uv pip install -e ".[dev]"
- Run linting checks:
ruff check .
pyinstaller --onefile --windowed --name path-editor main.py
- Update the version in
pyproject.toml
- Create and push a new tag:
git tag v1.0.0 && git push --tags
- The GitHub Actions workflow will automatically build and create a release
This project is licensed under the MIT License - see the LICENSE file for details.