Robostack
You can install ROS2 Humble on MacOS using the pixi package manager and the robostack project.
If you don't have
pixiinstalled, first runcurl -fsSL https://pixi.sh/install.sh | sh
Then, install ROS2 Humble with the following commands:
cd
pixi init robostack
cd robostack
curl -L https://gist.githubusercontent.com/nathantsoi/460cbfa3a75d9d6f751852f703b92650/raw/pixi.toml -o pixi.toml
pixi install
Then, start a shell with ROS2 Humble sourced:
pixi shell -e humble
Before running ROS2 commands, ensure that you are in the pixi shell with the correct environment by running
cd ~/robostack && pixi shell -e humble, then standard ROS2 commands will work as expected:
rviz2