{"id":37214766,"url":"https://github.com/therootcompany/pathman","last_synced_at":"2026-01-15T00:50:55.877Z","repository":{"id":45286541,"uuid":"322497957","full_name":"therootcompany/pathman","owner":"therootcompany","description":"Manage PATH on Windows, Mac, and Linux with various Shells","archived":false,"fork":false,"pushed_at":"2023-11-05T06:27:23.000Z","size":329,"stargazers_count":36,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T17:39:04.673Z","etag":null,"topics":["cli","linux","macos","path","windows"],"latest_commit_sha":null,"homepage":"https://git.rootprojects.org/root/pathman","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/therootcompany.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":"2020-12-18T05:27:48.000Z","updated_at":"2024-04-07T19:09:56.000Z","dependencies_parsed_at":"2022-08-04T02:30:25.554Z","dependency_job_id":"f149f3a1-85ef-413c-a443-fe701d70abd9","html_url":"https://github.com/therootcompany/pathman","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/therootcompany/pathman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therootcompany%2Fpathman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therootcompany%2Fpathman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therootcompany%2Fpathman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therootcompany%2Fpathman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therootcompany","download_url":"https://codeload.github.com/therootcompany/pathman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therootcompany%2Fpathman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28440557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:34:46.850Z","status":"ssl_error","status_checked_at":"2026-01-15T00:34:46.551Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","linux","macos","path","windows"],"created_at":"2026-01-15T00:50:55.244Z","updated_at":"2026-01-15T00:50:55.866Z","avatar_url":"https://github.com/therootcompany.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [pathman](https://git.rootprojects.org/root/pathman)\n\nManage PATH on **Windows 10**, **Mac**, and **Linux** with various Shells\n\n```bash\npathman list\npathman add ~/.local/bin\npathman remove ~/.local/bin\npathman version\npathman help\n```\n\nWhere is the PATH managed?\n\n-   **Windows 10**: stores `PATH` in the registry.\n-   **Mac** \u0026 **Linux**: stores `PATH` in `~/.config/envman/PATH.env`\n\nNote for **Windows 10** users: due to differences in how `cmd.exe`, PowerShell, and `pathman` use and interpret strings, spaces, paths, and variables, you'll get more consistent results if you:\n\n-   Use `~` rather than `%USERPROFILE%` or `$Env:USERPROFILE`\n-   Use `/` rather than `\\` for delimiting paths\n\n## Install\n\n**Mac**, **Linux**:\n\n```bash\ncurl -s https://webinstall.dev/pathman | bash\n```\n\n**Windows 10**:\n\nThis can be run from `cmd.exe` or PowerShell (`curl.exe` is a native part of Windows 10).\n\n```bash\ncurl.exe -sA \"MS\" https://webinstall.dev/pathman | powershell\n```\n\n### Manual Install\n\n1. [Download](#downloads)\n2. Add to `PATH`\n\nOr install via `npm`:\n\n```bash\nnpm install -g pathman\n```\n\n#### Windows\n\n```cmd\nmkdir %userprofile%\\bin\nmove pathman.exe %userprofile%\\bin\\pathman.exe\n%userprofile%\\bin\\pathman.exe add ~/bin\n```\n\n#### Mac, Linux, etc\n\n```bash\nmkdir -p ~/.local/bin\nmv ./pathman ~/.local/bin\npathman add ~/.local/bin\n```\n\n## Downloads\n\n[Webi](https://webinstall.dev/pathman) (\u003chttps://webinstall.dev/pathman\u003e) is the preferred install method,\nbut you can also download from [Git Releases](https://git.rootprojects.org/root/pathman/releases):\n\u003chttps://git.rootprojects.org/root/pathman/releases\u003e.\n\nMacOS (including Apple Silicon M1), Linux, Raspberry Pi:\n\n```bash\ntar xvf pathman-v*.tar.gz\nchmod a+x ./pathman\n./pathman --help\n```\n\nWindows 10:\n\n```bash\ntar.exe xvf pathman-v*.zip\n.\\pathman.exe --help\n```\n\n### Supported Platforms\n\n-   MacOS\n    -   Apple Silicon M1\n    -   Intel x86_64\n-   Windows 10, 8, 7\n-   Linux\n    -   amd64 / x86_64\n    -   386\n-   Raspberry Pi (Linux ARM)\n    -   RPi 4 (64-bit armv8)\n    -   RPi 3 (armv7)\n    -   ARMv6\n    -   RPi Zero (armv5)\n\n# CLI Help (API)\n\n# add\n\n```bash\npathman add ~/.local/bin\n```\n\n```txt\nSaved PATH changes. To set the PATH immediately, update the current session:\n\n\texport PATH=\"/Users/me/.local/bin:$PATH\"\n```\n\n# remove\n\n```bash\npathman remove ~/.local/bin\n```\n\n```txt\nSaved PATH changes. To set the PATH immediately, update the current session:\n\n\texport PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\n```\n\n# list\n\n```bash\npathman list\n```\n\n```txt\npathman-managed PATH entries:\n\n\t$HOME/.local/bin\n\nother PATH entries:\n\n\t/usr/local/bin\n\t/usr/bin\n\t/bin\n\t/usr/sbin\n\t/sbin\n\n```\n\n# Windows\n\nYou can use `~` as a shortcut for `%USERPROFILE%`.\n\n```bash\npathman add ~\\.local\\bin\n```\n\nThe registry will be used, even when your using Node Bash, Git Bash, or MINGW.\n\n# build\n\n```bash\ngit clone https://git.rootprojects.org/root/pathman.git\n```\n\n```bash\ngo mod tidy\ngo mod vendor\ngo generate -mod=vendor ./...\ngo build -mod=vendor\n./pathman list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherootcompany%2Fpathman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherootcompany%2Fpathman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherootcompany%2Fpathman/lists"}