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

To update or switch versions, run webi pathman@stable (or @v0.5, @beta, etc).

Cheat Sheet

Manages PATH on various OSes and shells

  • Mac, Windows, Linux
  • POSIX Shell, Bash, Zsh, Fish
  • Command, Powershell
pathman add ~/bin/
Saved changes to ~/.config/envman/PATH.env

Copy, paste, and run the following command:


(newly opened terminal windows will have the updated PATH)

Windows Users: use POSIX-style / (for paths) and ~ (for %USERPROFILE%) - they'll be adjusted automatically.

Table of Contents

  • Files
  • Add, Remove, List, etc


These are the files / directories that are created and/or modified with this install:


# 'source ~/.config/envman/PATH.env' will be added to


pathman help
pathman add ~/.local/bin
pathman remove ~/.local/bin
pathman list
pathman-managed PATH entries:


other PATH entries:



Report an Issue Submit Installer Star on GitHub