I have been using Jupiter notebook for a long time and it has worked fine. Today when I tried to use the 'jupyter notebook' command in terminal to open it, I got 'zsh: command not found: jupyter'. I have tried reinstalling Jupiter notebook and it says its already installed. I don't know what could have gone wrong, the only thing that has changed since it was working is that I installed command line tools for Xcode, but I don't know if that would cause this.
Edit: I'm on a Mac with Monterey installed.