ros2-cli

Install humble/beta of ros2-cli

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install ros2-cli --beta

Don't have snapd? Get set up for snaps.

ros2-cli is only available on the unstable beta channel. It could break and change often.

Channel Version Published

ROS 2 command line interface tools

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:

  • Install ros2cli from a terminal,

snap install ros2-cli --channel=humble/edge

  • Test your installation,

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

Details for ros2-cli

License
  • Apache-2.0

Last updated
  • 20 February 2023 - humble/beta
  • 5 September 2024 - jazzy/edge

Share this snap

Generate an embeddable card to be shared on external websites.


Install ros2-cli on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using ros2-cli

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04
Ubuntu 24.04