Error installing jetbot from scratch

I am trying to install jetbot from scratch following this https://github.com/NVIDIA-AI-IOT/jetbot/wiki/Create-SD-Card-Image-From-Scratch.

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 jupyter.py 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