Skip to content
mengfung.com
writing

Mac OSX PATH / $PATH

 ·  1 min read

When updating or adding paths to your ~/.profile:

vi ~/.profile

Do your edits:

PATH=$PATH:/whatever/you/want
export PATH

Save then run:

source ~/.profile

Then check it using:

echo $PATH