homepage: https://git.rootprojects.org/root/pathman
tagline: |
Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and PowerShell.
-description: |
- Manages PATH on various OSes and shells
- - Mac, Windows, Linux
- - Bash, Zsh, Fish
- - Command, Powershell
---
+## Updating `pathman`
+
+```bash
+webi pathman
+```
+
+## Cheat Sheet
+
+Manages PATH on various OSes and shells
+
+- Mac, Windows, Linux
+- Bash, Zsh, Fish
+- Command, Powershell
+
+```bash
+pathman help
+```
+
+### Usage
+
```bash
pathman add ~/.local/bin
```
pathman remove ~/.local/bin
```
+Note: Even on Windows 10 it is best to use Unix-style `/` paths and `~` for
+`%USERPROFILE%`.
+
```bash
pathman list
```
+
+```txt
+pathman-managed PATH entries:
+
+ $HOME/.local/bin
+ $HOME/.local/opt/go/bin
+ $HOME/go/bin
+ $HOME/.local/opt/node/bin
+
+other PATH entries:
+
+ /usr/local/bin
+ /usr/bin
+ /bin
+ /usr/sbin
+ /sbin
+```