how to check ros version code example Example 1: how to know my ros version echo $ROS_DISTRO Example 2: get ros version rosversion -d