add path to zsh Nov 7, 2021 • ulysses Here’s how to add a path to zsh permanently. Edit .zshrc file and add the path. Create .zshrc file if it’s missing. export PATH=$PATH:/new/path Exit and relaunch shell. The new path should be in effect. Echo to display new path. echo $PATH