{"id":16179317,"url":"https://github.com/1111mp/envpath","last_synced_at":"2025-04-07T11:43:41.302Z","repository":{"id":256928053,"uuid":"856848863","full_name":"1111mp/envpath","owner":"1111mp","description":"📌 A tool to add or remove values from the Windows PATH variable.","archived":false,"fork":false,"pushed_at":"2024-09-13T11:30:08.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T14:24:49.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1111mp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T10:18:32.000Z","updated_at":"2024-09-21T11:08:03.000Z","dependencies_parsed_at":"2024-09-14T00:04:27.896Z","dependency_job_id":"7071f20f-67c0-447d-a1a7-3a5c0df6fa8d","html_url":"https://github.com/1111mp/envpath","commit_stats":null,"previous_names":["1111mp/envpath"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fenvpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fenvpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fenvpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fenvpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1111mp","download_url":"https://codeload.github.com/1111mp/envpath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648925,"owners_count":20972942,"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":[],"created_at":"2024-10-10T05:27:05.570Z","updated_at":"2025-04-07T11:43:41.273Z","avatar_url":"https://github.com/1111mp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🪟 envpath\n\n📌 A tool to add or remove values from the Windows PATH variable. This project is inspired by [PathEd](https://github.com/awaescher/PathEd).\n\n## Examples\n###### Add a value to the Windows PATH:\n`envpath.exe add \"C:\\Program Files\\path\"`\n\n###### Remove a value from the Windows PATH:\n`envpath.exe remove \"C:\\Program Files\\path\"`\n\n###### Usage in a NSIS install script:\n`envpath` is used in the [nvm-desktop](https://github.com/1111mp/nvm-desktop) NSIS install script to [add](https://github.com/1111mp/nvm-desktop/blob/a19ecd3c5d22d9766bf666ffd72b9c04e2ff4a56/src-tauri/templates/nsis-hooks.nsh#L9) and [remove](https://github.com/1111mp/nvm-desktop/blob/a19ecd3c5d22d9766bf666ffd72b9c04e2ff4a56/src-tauri/templates/nsis-hooks.nsh#L22) the application location to the Windows PATH.\n\n\n## Noteworthy\n\n`envpath` will ...\n- ... just add values if they are new to the PATH. So it can be called multiple times.\n- ... ignore removals if the value is not part of the PATH. So it can be called multiple times as well.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fenvpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1111mp%2Fenvpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fenvpath/lists"}