Question: what is the difference between ros kinetic and melodic?
Answer: there are no differences at the level of ROS Basics between ROS Kinetic and ROS Melodic. ... The reason you get directed to /opt/ros on your local machine with Melodic, instead of going to ~/catkin_ws is because you have not created a catkin_ws in your local folder, nor you have sourced that workspace.