Jupyter command `jupyter-notebook` not found

I’m having trouble running jupyter notebook under macOS. Maybe I have conflicting issues between a formerly installed (and now removed conda/anaconda3), macports and pip install.

When I enter the above command, I’m getting

$ jupyter notebook
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: 3.13 console dejavu events execute kernel kernelspec
lab-3.13 labextension-3.13 labhub-3.13 migrate nbconvert notebook-3.13 run
server troubleshoot trust

Jupyter command `jupyter-notebook` not found.
$ which jupyter
/usr/local/bin/jupyter
$ 
$ cat /usr/local/bin/jupyter
#!/usr/local/opt/python@3.11/bin/python3.11
# -*- coding: utf-8 -*-
import re
import sys
from jupyter_core.command import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
$ 

$ jupyter --paths
config:
    /Users/kuku/.jupyter
    /Users/kuku/Library/Python/3.11/etc/jupyter
    /usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /Users/kuku/Library/Jupyter
    /Users/kuku/Library/Python/3.11/share/jupyter
    /usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /Users/kuku/Library/Jupyter/runtime

Any clues?

As a side note: I found that
jupyter 3.13 notebook make things work. But this can’t be it?