Onshape-to-robot: command not found

Hello,

I am trying to follow the Build your first ROS2 robot course and export the Onshap Fastbot design to a urdf file in my project. I have setup all the files, with the api keys etc. When I run onshape-to-robot I get command not found.

I also do not seem to be allowed to install onshape-to-robot in the terminal. How do I go about getting this tool install/working please?

Also, can I use onshape-to-robot in other courses, like the ROS2 URDF Real Robot Project with Gazebo Sim course?

Many thanks,
Phillip