Add new path to the path environment variable in zshell

First open your .zshrc file via nano:

Scroll down and add the following to your file (in my case I’m adding mint):

Finally make your changes available to your terminal:

You can test it. That’s how I do it (typing mint -h):

That’s it. Your tool is now accessible in your terminal!

--

--

App Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store