chore: make Prettier
[webi-installers/.git] / pathman / README.md
1 ---
2 title: Pathman
3 homepage: https://git.rootprojects.org/root/pathman
4 tagline: |
5   Pathman: cross-platform PATH management for bash, zsh, fish, cmd.exe, and PowerShell.
6 ---
7
8 ## Updating `pathman`
9
10 ```bash
11 webi pathman
12 ```
13
14 ## Cheat Sheet
15
16 Manages PATH on various OSes and shells
17
18 - Mac, Windows, Linux
19 - Bash, Zsh, Fish
20 - Command, Powershell
21
22 ```bash
23 pathman help
24 ```
25
26 ### Usage
27
28 ```bash
29 pathman add ~/.local/bin
30 ```
31
32 ```bash
33 pathman remove ~/.local/bin
34 ```
35
36 Note: Even on Windows 10 it is best to use Unix-style `/` paths and `~` for
37 `%USERPROFILE%`.
38
39 ```bash
40 pathman list
41 ```
42
43 ```txt
44 pathman-managed PATH entries:
45
46         $HOME/.local/bin
47         $HOME/.local/opt/go/bin
48         $HOME/go/bin
49         $HOME/.local/opt/node/bin
50
51 other PATH entries:
52
53         /usr/local/bin
54         /usr/bin
55         /bin
56         /usr/sbin
57         /sbin
58 ```