{"id":28418497,"url":"https://github.com/jonasgeiler/pathix","last_synced_at":"2025-07-12T15:08:33.503Z","repository":{"id":90575837,"uuid":"466594542","full_name":"jonasgeiler/pathix","owner":"jonasgeiler","description":"A simple Powershell script to clean up your PATH on Windows","archived":false,"fork":false,"pushed_at":"2022-03-06T00:02:09.000Z","size":3,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-22T23:46:05.087Z","etag":null,"topics":["cleaner","cleanup","cli","fix","path","powershell","shortener","tool","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonasgeiler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-03-05T23:55:44.000Z","updated_at":"2025-05-09T07:45:05.000Z","dependencies_parsed_at":"2023-03-04T19:15:34.728Z","dependency_job_id":null,"html_url":"https://github.com/jonasgeiler/pathix","commit_stats":null,"previous_names":["jonasgeiler/pathix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonasgeiler/pathix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasgeiler%2Fpathix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasgeiler%2Fpathix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasgeiler%2Fpathix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasgeiler%2Fpathix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonasgeiler","download_url":"https://codeload.github.com/jonasgeiler/pathix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasgeiler%2Fpathix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262371137,"owners_count":23300556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cleaner","cleanup","cli","fix","path","powershell","shortener","tool","windows"],"created_at":"2025-06-04T10:30:49.967Z","updated_at":"2025-06-28T03:31:05.021Z","avatar_url":"https://github.com/jonasgeiler.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pathix\n\nA simple Powershell script to clean up your PATH on Windows\n\n## What it does\n\n- Move entries to their correct target\n  - Entries in the current user's PATH that are relevant for all users go to the system's PATH\n  - Entries in the system's PATH that are only relevant for the current user go to the user's PATH\n- Remove redundant entries\n  - Duplicate entries in the current user's PATH\n  - Duplicate entries in the system's PATH\n  - Entries in the current user's PATH that already exist in the system's PATH\n- Remove or fix broken entries\n  - Try to replace `C:\\Program Files` with `C:\\Program Files (x86)` in the entry and visa-versa\n  - Otherwise, remove them\n- Shorten entries\n  - Try to replace parts of the entry with another environment variable (f.e. `C:\\Program Files` with `%ProgramFiles%`)\n  - Normalize paths and remove redundant path separators at the end\n- Sort entries\n- Prepend `%SystemRoot%` to both PATHs so they correctly show up as a list when editing in control panel\n\n## How to use\n\nOpen PowerShell as Administrator and run:\n```powershell\n./pathix.ps1\n```\n\u003e NOTE: Further information and instructions will be written to console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasgeiler%2Fpathix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonasgeiler%2Fpathix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasgeiler%2Fpathix/lists"}