Skip to content

Instantly share code, notes, and snippets.

@ozooxo ozooxo/path.md
Last active Apr 24, 2019

Embed
What would you like to do?
Various related to `PATH` on Mac

Check the path of one executable:

type -a postgres

Check the path:

echo $PATH

Add a path globally: Modify /etc/paths to add a line.

Add a path for specific user: Modify ~/.zshrc to add

export PATH="/path/to/bin/folder:${PATH}"

and source ~/.zshrc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.