ROS 2 Jazzy for macOS (Apple Silicon): release 26.11.20.9, self-contained, Gazebo included, Nav2 up in 78 s
A new ROS 2 Jazzy distribution for Apple Silicon Macs is available via Homebrew (ros2-jazzy 26.11.20.9). Built natively from source without VM or Docker, this release includes Gazebo Harmonic and Nav2, achieving a startup time of approximately 78 seconds for a TurtleBot 4 simulation. The package bundles over 1,870 packages from 638 repositories, with most Linux-only dependencies excluded. It features optimized middleware configurations, including Cyclone DDS on loopback for reliable node discovery, and includes tools like MoveIt 2, Autoware Core, and RTAB-Map. Known issues include the inability to read .pgm maps due to missing GraphicsMagick decoders in the bundled version.
A new ROS 2 Jazzy for Apple Silicon Macs is out on Homebrew: ros2-jazzy 26.11.20.9. It’s built natively on macOS from source, with no VM or Docker. Installation and setup are in the tap: idesign0/homebrew-ros2.
Video (real speed): a TurtleBot 4 launches with Nav2, undocks and drives 11.6 m across the warehouse world on an M2.
TL;DR
- About 1,870 packages from 638 source repos. Most of the ~200 not shipped are Linux-only (kernel or device APIs, CUDA) or depend on one.
- Self-contained: the Homebrew libraries it was built against ship inside the package, so a Homebrew update on your Mac can’t break it any more.
- Gazebo Harmonic included (Ogre 2 on Metal).
setup.zshsets every path, so remove any oldGZ_*/QML2_IMPORT_PATHexports. - Faster startup: libraries are dead-stripped. A TurtleBot 4 + Nav2 sim (Gazebo GUI + RViz) went from 2–3 min to 78 s.
What changed compared to the previous Jazzy
| Before | 26.11.20.9 | |
|---|---|---|
| Homebrew dependencies | linked against your Homebrew, relinked in post_install (broke on abseil/DART updates) |
bundled in the keg: 215 libraries, 28 frameworks; nothing loads from Homebrew at run time |
| Gazebo | separate copy, GZ_* exports in your shell |
Harmonic from inside the keg (opt/gz_*_vendor), no exports |
| Direct library links | ~190 per Nav2 server | 6 per Nav2 server, 77 % fewer across the tree (-dead_strip_dylibs) |
| TurtleBot 4 + Nav2 bring-up | 2–3 min | robot + map ~22 s, full stack 78 s |
ros2 CLI |
~0.4 s per command |
Also included: MoveIt 2, Nav2, ros2_control, Autoware Core, MOLA, RTAB-Map, Cartographer, PCL, Webots, MuJoCo, Open-RMF and MAVROS, plus Zenoh, Cyclone DDS and iceoryx as middleware.
Tip for big launches: Cyclone DDS on loopback
With dozens of nodes (Nav2, TurtleBot), this profile was the most reliable one on macOS:
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export CYCLONEDDS_URI='<CycloneDDS><Domain><General><Interfaces><NetworkInterface name="lo0" multicast="true"/></Interfaces></General><Discovery><ParticipantIndex>none</ParticipantIndex></Discovery></Domain></CycloneDDS>'
ParticipantIndex none: the default per-process index pool runs out with big launches.lo0: discovery multicast over Wi-Fi was lossy. The same launch came up in 20 s, several minutes or not at all; on loopback it comes up in ~22 s every run. This only works when all nodes are on one Mac.- Don’t combine it with
ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST.
The Fast DDS shared-memory issue from my RMW measurements post is fixed in the next build. That build carries eProsima/Fast-DDS#6632 (still in review upstream) in our Fast DDS fork.
Known issues
- Nav2
map_servercan’t read.pgmmaps yet: the bundled GraphicsMagick is missing its decoders. Until the next build:export DYLD_LIBRARY_PATH=$(brew --prefix graphicsmagick)/lib:$DYLD_LIBRARY_PATH. - Building your own workspace against it works for about 96 % of packages (
find_package()from a clean overlay). Some gz components and Boost.Python still fail; that’s what I’m working on now.
Upstream first
I don’t want a macOS fork of ROS 2. 101 of the 638 repos are forks carrying macOS fixes, each tracking its upstream branch, so upstream changes land automatically. The fixes go back upstream: so far 76 PRs in 44 projects, 40 merged (Nav2, MoveIt 2, ros2_control, RViz, rosbag2, MOLA, …).
Build system: idesign0/ros2_macOS. If something doesn’t work on your Mac, please open an issue in the tap. Reports from other Macs and macOS versions are especially welcome.