FREE TOOL
Bash $PATH Debugger
Paste your $PATH below. Instantly see what's broken, what's duplicated, and get a clean export line.
Your $PATH value
Run:
echo $PATH — then paste the output here
⚠ "Load My PATH" only works when this page is opened locally in a terminal browser — it cannot read your actual system PATH from a web browser.
Or try an example:
load example $PATH
← Paste your $PATH and click Analyze
Copied to clipboard
// recommended hosting
Test your PATH fixes on a clean Linux server
Spin up a fresh Ubuntu 24.04 droplet and test your PATH configuration without touching your local machine.
// guide
How to Use This Tool
01
Open a terminal and run: echo $PATH
02
Copy the output and paste it into the input box above.
03
Click Analyze PATH to see which directories exist, are missing, or appear more than once.
04
Copy the cleaned export PATH= line and add it to your ~/.bashrc or ~/.zshrc.
// faq
Frequently Asked Questions
// learn more