Error installing jetbot from scratch

I am trying to install jetbot from scratch following this

I get this far…
sudo apt install nodejs npm
sudo pip3 install jupyter jupyterlab
sudo jupyter labextension install @jupyter-widgets/jupyterlab-manager

The third line gives the error:
“sudo: jupyter: command not found”

There is a in the directory /usr/lib/python3/dist-packages. Is this what is supposed to be executed?

Answering my own question, I installed jupyter like this and it now works…
python3 -m pip install jupyter jupyterlab