Ztc commands not working in terminal

I don’t know if this is due to fresh install on new Mac but I can’t run commands like “ztc compile” anymore. I was able to run them a few months ago on another Mac computer.
Terminal just says: zsh: command not found: ztc

Please advise how to fix this.

This error is due to mis-configuration in the PATH environment variable.
Could you uninstall and re-install the latest version of Zerynth studio, Normally this Path variable is set correctly during installation.

Deleted Z Studio and installed fresh several times. No effect.
Can you please provide alternative ways to fix the Path variable problem? Can i do it manually?


Sorry for the delay.

In your ~/.bash_profile file, you will find line like:
\n\n########## Zerynth ZTC path\nPATH=$PATH:"+ztcpath+"\nexport PATH\n\n
copy that line and put it inside ~/.zshrc.
Let me know if it works

Thanks @karimhamdy1 , yes it worked!!!

I had to create ~/.zshrc (sudo nano ~/.zshrc) since it did not exist and it took effect after reboot.