zsh not found
whenever I type any command in terminal it says zsh: command not found
MacBook Air, macOS 13.5
whenever I type any command in terminal it says zsh: command not found
MacBook Air, macOS 13.5
What commands are you trying to run?
What do you see if you type in the command "echo $PATH"? The PATH specifies all of the directories where a shell will search for a command if you do not provide the full path name of the command. If your PATH is messed up (say because of an error in a shell initialization script), you might get "command not found" for even basic commands.
Under Ventura and zsh, I see:
% echo $PATH
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
I take it that "/System/Cryptexes/App/usr/bin" is related to some of the security changes made to recent versions of macOS. Under High Sierra, there was no such directory in the PATH.
What commands are you trying to run?
What do you see if you type in the command "echo $PATH"? The PATH specifies all of the directories where a shell will search for a command if you do not provide the full path name of the command. If your PATH is messed up (say because of an error in a shell initialization script), you might get "command not found" for even basic commands.
Under Ventura and zsh, I see:
% echo $PATH
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
I take it that "/System/Cryptexes/App/usr/bin" is related to some of the security changes made to recent versions of macOS. Under High Sierra, there was no such directory in the PATH.
zsh not found