• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Add path to zsh

November 6, 2021

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

export PATH=$PATH:/new/path

Exit and relaunch shell. The new path should be in effect.

Echo to display new path.

echo $PATH

echo $PATH

Filed Under: Linux Tagged With: .zshrc, add, path, zsh

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023