Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mac update path permanently

sudo vim /etc/paths
#add the path to this file and close (:wq in vim)

#note only add the path so often you may see:
export PATH=$PATH:/new/dir/location1.bin
#here you would just add /new/dir/location1.pin to /etc/paths
 
PREVIOUS NEXT
Tagged: #mac #update #path #permanently
ADD COMMENT
Topic
Name
2+1 =