{"id":21151851,"url":"https://github.com/jakemason/path-adder","last_synced_at":"2026-05-17T21:05:19.775Z","repository":{"id":134123713,"uuid":"519684974","full_name":"jakemason/PATH-Adder","owner":"jakemason","description":"Quickly add all folders in the working directory to your Window's $PATH","archived":false,"fork":false,"pushed_at":"2022-08-01T19:28:50.000Z","size":661,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T08:23:28.449Z","etag":null,"topics":["powershell","powershell-script","quality-of-life","utility","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/jakemason.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,"publiccode":null,"codemeta":null}},"created_at":"2022-07-31T05:07:52.000Z","updated_at":"2023-07-01T14:39:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"6feee76e-a165-429c-aaec-495e177bbe56","html_url":"https://github.com/jakemason/PATH-Adder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemason%2FPATH-Adder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemason%2FPATH-Adder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemason%2FPATH-Adder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakemason%2FPATH-Adder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakemason","download_url":"https://codeload.github.com/jakemason/PATH-Adder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243597780,"owners_count":20316842,"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":["powershell","powershell-script","quality-of-life","utility","windows"],"created_at":"2024-11-20T10:19:21.673Z","updated_at":"2026-05-17T21:05:14.737Z","avatar_url":"https://github.com/jakemason.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation:\nGrab the file from the repo, or use `wget`, `curl`, etc:\n\n`curl https://raw.githubusercontent.com/jakemason/PATH-Adder/master/add_folders_to_path.ps1 -o add_folders_to_path.ps1`\n\n# What does it do?\nThis utility will add all of the folders found in the working directory to your Windows' `$PATH` for the current User.\n\n# Running:\nSimply execute the `add_folders_to_path.ps1` script from the Windows 11 Terminal or a PowerShell in the desired directory. Note that the `-commit` flag must be passed for any changes to be made. I recommend you run it without the commit flag at first to review the changes that will be made. All subfolders found within `add_folders_to_path.ps1`'s directory will be added to your PATH.\n\nDefault call which does **not** cause changes: \n\n```.\\add_folders_to_path.ps1```\n\nCommit call which **will** cause changes: \n\n```.\\add_folders_to_path.ps1 -commit```\n\n# How/why is this useful? \nTo save time / effort when installing tools on a new machine. I'll often find myself needing to install various tools (Python, fd, cmder, etc) that will all\nneed to be added to the user's `$PATH` to be useful. I've found that the easiest way to do that is to install all of these tools in the same folder leading to \na directory structure similar to:\n\n```\n├── E:/tools/                          # The \"parent\" folder in which you'll want to run this script.\n      └── fd/\n      └── python/\n      └── php/\n      └── my_cool_tool/\n      └── add_folders_to_path.ps1      # The script file featured in this repo\n```\n\nAdditionally, I can just leave the script in place and run it again whenever my `E:/tools` directory is updated.\n\n# Example Output:\n\n## The default call allows you to preview what changes will be made:\n![The output produced before a commit is made.](./repo/before.png)\n\n## A '-commit' call which updates your $PATH:\n![The output produced after a commit is made.](./repo/after.png)\n\n# Safety Features\n\nNote that your \"old\" $PATH will be written to a file titled 'old_path.txt' when the script is run with the `-commit` flag. This means you can always use that file to\nreset your $PATH as it was before the update if it was run by mistake.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakemason%2Fpath-adder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakemason%2Fpath-adder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakemason%2Fpath-adder/lists"}