Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and PowerShell.

Updating pathman

webi pathman

Cheat Sheet

Manages PATH on various OSes and shells

  • Mac, Windows, Linux
  • Bash, Zsh, Fish
  • Command, Powershell
pathman help

Usage

pathman add ~/.local/bin
pathman remove ~/.local/bin

Note: Even on Windows 10 it is best to use Unix-style / paths and ~ for %USERPROFILE%.

pathman list
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

Contribute

Report an Issue Submit Installer