Install jazzy/stable of ros2-cli
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Snap for ROS 2 command line interface tools [1] included with a standard install of any ROS 2 distro.
Note: This is a beta release, if you encounter any bugs or limitations, please do report it [2].
The Snap does not support roslaunch, rospkg, rosrun and custom ROS messages as these require access to the host filesystem.
The ros2-cheat-sheet [3] provides examples for commands and their verbs.
Installation Instructions:
snap install ros2-cli --channel=humble/edge
ros2-cli.ros2 --help
[1] https://github.com/ros2/ros2cli
[2] https://github.com/ubuntu-robotics/ros2cli-snap/issues
[3] https://github.com/ubuntu-robotics/ros2_cheats_sheet/blob/master/cli/cli_cheats_sheet.pdf
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.