Apps/Dev
VibePath
PATH · which
VibePath: see which program a command runs on Windows, and clean up PATH with an undo
VibePath is a free, open-source Windows app that shows why a command such as python runs the program it does. It lists every file the command could mean, in the order cmd, PowerShell 7, Windows PowerShell 5.1, a program and the Run box would find them, and never runs any of them. It also checks PATH for dead, doubled, broken and risky entries, and has an editor with a preview, a journal and an undo. It is a preview release.
- Memory, idle
- 7.9 MB
- Installer
- 5.3 MB · per user · no admin
- Version
- 0.2.0-preview
- Runs on
- Windows · 64-bit
- Price
- Free · open source (AGPL-3.0)
Download VibePath
A code-signed preview. One small installer, per user, no administrator rights. It installs the app and its command line, nothing else.
VibePath_0.2.0-preview_x64-setup.exe · SHA-256 6f3067b907a1379ea2c98046459e4b088cf446bb3a1086cd59e48d1db6b81473 · how to check it

What it does
Which one wins
Type a command and see every match in search order: the one that runs, the ones it hides, and who made and signed each file.
Five ways to start
The order differs between cmd, PowerShell 7, Windows PowerShell 5.1, a program starting another program, and the Run box. Pick one and the list follows.
From any program's view
Ask as a new window would see it, as VibePath sees it, or as one of your running programs sees it, such as the one terminal that acts up.
PATH health check
Every entry of Machine and User PATH with what is wrong with it: a folder that is gone, a repeat, a relative entry, a network share, a value near a length limit.
Risky folders flagged
A folder on the PC-wide PATH that you can write to without administrator rights is marked as a danger, since anything placed there can run by name.
Editor with a preview
Add, edit, remove and reorder entries, or let Tidy remove dead, repeated and empty ones. Nothing changes until you press Apply in the preview.
Journal, undo and a .reg copy
Every change is in the History tab and can be undone. Before the first change to a PATH, a .reg copy of it as it was is saved.
Stale programs listed
The Running apps tab shows which running programs still have an old PATH and need a restart to see the new one.
What it is for
You type python and the wrong one starts. Or a tool works in one terminal and not in another. The answer is always in the search order: which folders are looked in, in what order, with which file extensions. That order is not the same in Command Prompt, PowerShell, a program starting another program, and the Run box. VibePath shows the order and what it finds, so you can see the cause instead of guessing.
Looking up a command
The window has four tabs: Command, PATH, Running apps and History.
- On the Command tab, type a name in the field, for example
python,npmor.\tool, and press Enter. - Pick the Shell: cmd, PowerShell 7, Windows PowerShell 5.1, Program or Run box.
- Pick the Context: New window, This app, or one of your running programs.
- Read the list. The first row is what would run. The rows under it are the files it hides. Select a row to see where the file is, which step of the search found it, and who made and signed it.
For PowerShell, built-in aliases, functions and cmdlets come before files, and VibePath shows them. Aliases and functions that your own profile adds are not read.
You can also start it with a command name, VibePath.exe python, and it opens with that command looked up.
Checking and editing PATH
The PATH tab lists every entry of Machine PATH and User PATH in the order new programs get them, each with its findings. Examples of what it flags:
- A folder that is not there, or a drive that is not connected.
- An entry that repeats an earlier one, also when it is the same folder under another name.
- A relative entry, quotes or trailing spaces.
- A folder on Machine PATH that you can write to.
- A PATH that is exactly 1,024 characters long, which is where
setxcuts. - Machine PATH copied into User PATH.
To change something, press Edit User PATH or Edit Machine PATH. Use Add…, Edit…, Remove, Move up and Move down, or Tidy to remove dead, repeated and empty entries in one go. Entries stay as you typed them, so %USERPROFILE%\bin is kept with its variable. Press Preview… to see the exact difference, then Apply.
Right before writing, VibePath checks that PATH is still what it read. If another program changed it in the meantime, Apply is turned off until it has been read again.
Programs that were already running keep their old PATH. Broadcast tells running programs that the environment changed, which File Explorer picks up. The Running apps tab lists the ones that need a restart.
What it doesn’t do
- It does not run, install, update or remove programs.
- It does not read aliases and functions from your PowerShell profile.
- It edits PATH only, not other environment variables.
- Tidy never removes an entry whose state it could not check, or one on a drive that is not there right now.
- It is a preview. Look at the Preview before you Apply, and keep the .reg copy.
What it changes on your PC
VibePath installs for your user only, without administrator rights. Looking things up changes nothing. Your PATH changes only when you press Apply on an edit, and each change is in the journal. Uninstalling leaves your settings and the PATH journal in place.
The two guides that go with it: how to add a folder to PATH in Windows 11 and the Windows equivalent of which.
For scripts and AI agents
In short: VibePath-cli.exe is installed beside the window. It runs the same engine as the window, from the command line, and answers in JSON.
Says what a command name resolves to and why, what is on PATH for you and for the PC, and which running programs have a stale PATH. It changes PATH as plan, apply and undo, journaled.
It never runs a command it resolves and never asks for administrator rights.
Commands
- which <command>
- What a name would run in cmd, PowerShell and the Run box, the winner first and what it shadows.
- path
- Machine and User PATH, entry by entry, with what is wrong with each.
- stale
- The running programs that started with an older PATH.
- plan <hive>
- Plans a change: add, remove, move, clean hidden characters, tidy dead and repeated entries, or restore a version.
- apply <plan>
- Makes a saved plan so, journaled before it is written.
- undo <id>
- Goes back from one change, only while PATH is still what that change wrote.
- history
- The PATH changes VibePath made, newest first.
- export <id>
- Saves a version of PATH from the journal as a .reg file.
- broadcast
- Tells running programs that the environment changed.
- Your own User PATH needs no rights. Machine PATH only from a shell that is already elevated. It never asks for the rights itself.
- Every answer is one JSON document, and
helpdescribes every command and option. How the companions work.
Before you install
- Admin rights
- Only for the PC-wide PATH: one Windows prompt per change, in a short helper. Your own PATH needs none, and the app never runs elevated.
- Network
- Only network shares that are on your PATH, to see that they exist, and getvibeware.com when you press Check this install.
- Keeps
- Settings in %APPDATA%\com.tedkj.vibepath, and a PATH journal with a .reg copy of each PATH as first found in %LOCALAPPDATA%\com.tedkj.vibepath, or beside the exe when portable. Undo records for Machine PATH sit in HKLM\SOFTWARE\VibePath.
- Checked
- Code signed, and reviewed to break before release. How the apps are checked.
Questions people ask
Is VibePath a which command for Windows?
It answers the same question in a window: type the command, and it lists every file that name could mean, in the order the shell you picked would search, with the winner on top. Windows itself has where in Command Prompt and Get-Command in PowerShell.
Can VibePath show why python runs the wrong version?
Yes. The wrong one runs because it comes earlier in the search. Type python in the Command tab to see every match in order, including an App Execution Alias if one is first.
How do I edit PATH in Windows 11 with VibePath?
Open the PATH tab and press Edit User PATH or Edit Machine PATH. Add, edit, remove or move entries, press Preview to see exactly what changes, then Apply. Machine PATH asks Windows for administrator rights once.
Can I undo a PATH change?
Yes. Every change VibePath makes is listed in the History tab with an Undo. It also saves a .reg copy of each PATH as it was before the first change.
Does VibePath run the programs it finds?
No. It never runs a file it finds, not even to ask for a version, and it never asks a shell. Everything is read from the registry, the file system and the running programs' memory.
My PATH is too long. Can it help?
It warns when a PATH is 2,048 characters or longer, where some installers and older tools cut it, and when it is exactly 1,024 characters, where setx cuts. Tidy removes dead, repeated and empty entries, and Preview shows what that takes away before you apply it.
More in Dev
VibeWare is not affiliated with Microsoft, Python, or npm. Their names are used only to say what VibePath works with.
Published · by Ted K. Johansen