Manage PATH on Windows, Mac, and Linux with various Shells
Manage PATH on **Windows 10**, **Mac**, and **Linux** with various Shells
```bash
pathman list
@ -10,12 +10,34 @@ pathman version
pathman help
```
Windows: stores PATH in the registry.
Where is the PATH managed?
Mac & Linux: stores PATH in `~/.config/envman/PATH.sh`
- **Windows 10**: stores `PATH` in the registry.
- **Mac**&**Linux**: stores `PATH` in `~/.config/envman/PATH.env`
Note 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:
- Use `~` rather than `%USERPROFILE%` or `$Env:USERPROFILE`
- Use `/` rather than `\` for delimiting paths
## Install
**Mac**, **Linux**:
```bash
curl -s https://webinstall.dev/pathman | bash
```
**Windows 10**:
This can be run from `cmd.exe` or PowerShell (`curl.exe` is a native part of Windows 10).