Speech Script icon Speech Script — Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
 

Macos

This guide is for Mac computers with Apple Silicon (M1, M2, M3, M4 and later) and for Intel Macs. The two use different downloads but install the same way.

Requirements

  • A Mac with Apple Silicon or an Intel processor.
  • macOS 14 Sonoma or later.
  • An internet connection.

You do not need to install .NET, Homebrew or any other software. Everything ARCx needs is included with it.

Which download do I need?

Open Terminal (in Applications > Utilities, or press Cmd+Space and type Terminal) and run:

sysctl -n machdep.cpu.brand_string
It prints Your Mac Download
Apple M1, Apple M2 Pro, Apple M4 ... Apple Silicon ARCx-macOS-ARM64.zip
Intel(R) Core(TM) i7 ... Intel ARCx-macOS-64.zip

You can also check in Apple menu > About This Mac: Apple Silicon Macs show Chip, Intel Macs show Processor.

Use the Apple Silicon download on an Apple Silicon Mac. The Intel build would run there through Rosetta, but slower and without AI acceleration.

What is different on an Intel Mac

Everything in this guide works on both, with one exception: robot skills that run AI models on the computer itself do not work on an Intel Mac. Those skills use ONNX Runtime, which has no Intel Mac version. They show an error instead of running. Robot skills that use AI services over the internet are not affected.

On Apple Silicon, those robot skills run, and they can use the Mac's GPU and Neural Engine (Core ML) for speed.

Install

Run these commands in Terminal. For an Intel Mac, replace ARCx-macOS-ARM64 with ARCx-macOS-64 on the three lines that use it.

# Start in your home folder
cd ~

# Download ARCx
curl -L -o ARCx-macOS-ARM64.zip https://synthiam.com/api/download/arcx/ARCx-macOS-ARM64.zip

# Unzip it into a folder named ARCx
unzip ARCx-macOS-ARM64.zip -d ARCx

# The zip file is no longer needed
rm ARCx-macOS-ARM64.zip

# Go into the folder
cd ARCx

# Allow the ARCx program to run
chmod +x ARCx

# Start ARCx
./ARCx

Download with curl in Terminal as shown, not with Safari or another browser. macOS marks files downloaded by a browser as coming from the internet and then refuses to run them (see macOS says ARCx cannot be opened). Safari also unzips the file by itself into Downloads.

If ls inside ~/ARCx shows a single folder instead of the ARCx program, cd into that folder before running chmod and ./ARCx.

Open the interface

ARCx prints its start-up messages in Terminal. Leave the Terminal window open; it is ARCx.

On the same Mac

ARCx opens the interface in your default browser when it starts. If it does not, or you closed the tab, open any browser and go to:

http://127.0.0.1:5150

To stop ARCx opening the browser, turn it off in the ARCx preferences, or start it with ./ARCx --no-browser.

From another computer, phone or tablet

Start ARCx so it accepts connections from the network:

cd ~/ARCx
./ARCx -b http://0.0.0.0:5150

If the macOS firewall is turned on, it asks whether ARCx may accept incoming network connections. Click Allow.

Find this Mac's IP address:

ipconfig getifaddr en0

en0 is Wi-Fi on most Macs. If it prints nothing, try ipconfig getifaddr en1, or look in System Settings > Wi-Fi > Details (or Network > Ethernet > Details).

On the other device, browse to http://<that-ip-address>:5150, for example http://192.168.1.50:5150.

Warning: ARCx has no login. Anyone who can reach that address can control the robot and read or delete files on this Mac. Only do this on a network you trust.

Stop

Press Ctrl+C (Control, not Command) in the Terminal window where ARCx is running. Allow around 20 seconds for a clean shutdown.

Closing the browser does not stop ARCx. Closing the Terminal window does stop it.

Keep the Mac awake

When the Mac goes to sleep, ARCx stops and the robot stops responding. To keep the Mac awake for as long as ARCx runs, start ARCx through caffeinate:

cd ~/ARCx
caffeinate -i ./ARCx

The screen can still turn off; the Mac keeps running. A MacBook still sleeps when its lid is closed, unless it is connected to power and an external display.

To stop the Mac sleeping at all while it is connected to power (useful when ARCx runs at login, below), run sudo pmset -c sleep 0. sudo pmset -c sleep 10 puts it back to sleeping after 10 minutes.

Give ARCx access to hardware

macOS does not use user groups for hardware the way Linux does. Serial ports work straight away. Cameras, microphones and some input devices need your permission once, which macOS asks for the first time ARCx uses them.

Camera and microphone

macOS gives the permission to the app ARCx was started from, so the request says "Terminal" would like to access the camera (or the microphone). Click Allow. If you started ARCx from another app, such as iTerm or Visual Studio Code, the request names that app instead.

The first time, the camera can stay black while macOS shows the request. Allow it, then stop and start the camera in ARCx, or restart ARCx.

If you clicked Don't Allow, or no request appeared:

  1. Open System Settings > Privacy & Security > Camera (or Microphone).
  2. Turn on Terminal.
  3. Quit Terminal completely (Cmd+Q), open it again and start ARCx.

Serial ports

USB serial adapters (FTDI, CH340, CP210x), Arduino and other USB microcontroller boards, servo controllers and lidars appear as /dev/cu.* devices. No permission is needed. To list them:

ls /dev/cu.*
Device Usually appears as
FTDI adapters /dev/cu.usbserial-XXXX
Arduino and other boards with native USB /dev/cu.usbmodemXXXX
CH340/CH341 adapters /dev/cu.usbserial-XXXX or /dev/cu.wchusbserialXXXX
CP210x adapters /dev/cu.SLAB_USBtoUART or /dev/cu.usbserial-XXXX

/dev/cu.Bluetooth-Incoming-Port and /dev/cu.debug-console are part of macOS; ignore them.

Every port is also listed a second time as /dev/tty.*. Use the /dev/cu.* one. A /dev/tty.* port waits for a signal from the device before it opens, and with most adapters it never opens.

Unplug the device, run ls /dev/cu.*, plug it back in and run it again to see which entry is yours.

macOS includes drivers for most FTDI and Arduino boards and for many CH340 adapters. If an adapter does not appear, install the driver from the chip maker (Silicon Labs for CP210x, WCH for CH340/CH341), then allow it in System Settings > Privacy & Security when macOS asks.

Gamepads and HID devices

Xbox, PlayStation, Switch Pro and most other game controllers work with no setup, over USB or Bluetooth. Views, Gamepads And HID in ARCx shows every controller it can see.

If a controller or another HID device is not listed, open System Settings > Privacy & Security > Input Monitoring, turn on Terminal (or add it with +), then quit and reopen Terminal and start ARCx again.

Robot controllers on the network

macOS 15 Sequoia and later ask before an app may connect to devices on the local network, such as a Wi-Fi robot controller. If macOS asks whether Terminal or ARCx may find and connect to devices on your local network, click Allow. To change it later, open System Settings > Privacy & Security > Local Network.

Browser windows

Browser windows (web pages that robot skills show on the computer's own monitors in Chromium) are not available on macOS yet. Views, Browser Windows and the Diagnostics page report them as not installed. Everything else in ARCx works without them.

Start ARCx automatically when you log in

Run ARCx as a launch agent so it starts when you log in, without a Terminal window, and restarts if it stops unexpectedly.

  1. Create the launch agent. Paste this whole block into Terminal (it fills in your home folder):

    mkdir -p ~/Library/LaunchAgents
    cat > ~/Library/LaunchAgents/com.synthiam.arcx.plist <<EOF
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.synthiam.arcx</string>
      <key>ProgramArguments</key>
      <array>
        <string>$HOME/ARCx/ARCx</string>
        <string>-b</string>
        <string>http://0.0.0.0:5150</string>
      </array>
      <key>WorkingDirectory</key>
      <string>$HOME/ARCx</string>
      <key>RunAtLoad</key>
      <true/>
      <key>KeepAlive</key>
      <dict>
        <key>SuccessfulExit</key>
        <false/>
      </dict>
      <key>ExitTimeOut</key>
      <integer>60</integer>
      <key>StandardOutPath</key>
      <string>$HOME/Library/Logs/ARCx.log</string>
      <key>StandardErrorPath</key>
      <string>$HOME/Library/Logs/ARCx.log</string>
    </dict>
    </plist>
    EOF
    

    To open a project on start-up, add two more lines inside <array>, after http://0.0.0.0:5150. The path needs no quotes here, even with spaces in it:

        <string>-f</string>
        <string>/Users/<you>/ARCx Data/My Projects/MyRobot.arcx</string>
    

    ARCx opens the browser at login too. To stop that, add <string>--no-browser</string> the same way.

  2. Start it now (from the next login on, it starts by itself):

    launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.synthiam.arcx.plist
    

Useful commands:

Command What it does
launchctl print gui/$(id -u)/com.synthiam.arcx | grep state Is ARCx running?
tail -f ~/Library/Logs/ARCx.log Watch the ARCx console output live (Ctrl+C to stop watching)
launchctl bootout gui/$(id -u)/com.synthiam.arcx Stop ARCx (it starts again at the next login)
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.synthiam.arcx.plist Start ARCx again after stopping it
launchctl kickstart -k gui/$(id -u)/com.synthiam.arcx Restart ARCx

Things to know:

  • It starts at login, not at power-on. For a robot with no one to log in, turn on automatic login in System Settings > Users & Groups > Automatically log in as. macOS does not offer it while FileVault is turned on.
  • Camera and microphone permission. Started this way, ARCx asks for permission itself rather than through Terminal. Allow it when macOS asks, or turn on ARCx in System Settings > Privacy & Security > Camera and Microphone.
  • Keep the Mac awake with sudo pmset -c sleep 0 (see Keep the Mac awake).
  • The firewall asks once whether ARCx may accept incoming connections, the same as when it is started from Terminal.

To stop starting ARCx at login:

launchctl bootout gui/$(id -u)/com.synthiam.arcx
rm ~/Library/LaunchAgents/com.synthiam.arcx.plist

Update

When the interface shows that an update is available (replace ARCx-macOS-ARM64 with ARCx-macOS-64 on an Intel Mac):

# Stop ARCx (press Ctrl+C in its Terminal window), or if it runs at login:
launchctl bootout gui/$(id -u)/com.synthiam.arcx

# Remove the old program folder. Your projects are in ~/ARCx Data and are not touched.
cd ~
rm -rf ~/ARCx

# Download and unzip the new version
curl -L -o ARCx-macOS-ARM64.zip https://synthiam.com/api/download/arcx/ARCx-macOS-ARM64.zip
unzip ARCx-macOS-ARM64.zip -d ARCx
rm ARCx-macOS-ARM64.zip
chmod +x ~/ARCx/ARCx

# Start it again, or if it runs at login:
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.synthiam.arcx.plist

Removing the old folder first, rather than unzipping over it, makes sure no files from the old version are left behind.

Uninstall

# If you set up the launch agent
launchctl bootout gui/$(id -u)/com.synthiam.arcx
rm ~/Library/LaunchAgents/com.synthiam.arcx.plist
rm -f ~/Library/Logs/ARCx.log

# Remove the program
rm -rf ~/ARCx

# Optional: remove your projects, settings and installed robot skills
rm -rf ~/"ARCx Data"

Troubleshooting

Problem Fix
zsh: permission denied: ./ARCx Run chmod +x ARCx in the ARCx folder.
zsh: no such file or directory: ./ARCx You are not in the folder that contains the ARCx program. Run ls and cd into the right folder.
bad CPU type in executable This is the Apple Silicon build on an Intel Mac. Use ARCx-macOS-64.zip. See Which download do I need?
macOS asks to install Rosetta This is the Intel build on an Apple Silicon Mac. Use ARCx-macOS-ARM64.zip instead.
"ARCx" Not Opened, "cannot be opened because the developer cannot be verified", or "Apple could not verify ARCx is free of malware" The files were downloaded with a browser. See macOS says ARCx cannot be opened.
zsh: killed ./ARCx straight away macOS refused the program's signature. Run xattr -dr com.apple.quarantine ~/ARCx, then codesign --force --sign - ~/ARCx/ARCx, and start it again.
ARCx exits straight away with an address or port error Another program is already using port 5150, or another copy of ARCx is running (if it runs at login, stop it with launchctl bootout gui/$(id -u)/com.synthiam.arcx). Stop the other copy, or use another port: ./ARCx -b http://127.0.0.1:5151
The browser cannot connect to 127.0.0.1:5000 Earlier versions of ARCx used port 5000. ARCx now uses port 5150: browse to http://127.0.0.1:5150, and change bookmarks, shortcuts, scripts and MCP client settings that still use :5000.
Another device cannot connect Check that ARCx was started with -b http://0.0.0.0:5150, that the firewall allowed ARCx, that you used the IP from ipconfig getifaddr en0, and that both devices are on the same network.
The camera shows no picture Allow the camera for Terminal. See Camera and microphone.
No sound from the microphone Allow the microphone for Terminal. See Camera and microphone.
A serial port is missing Use ls /dev/cu.* to check it is there. See Serial ports.
A serial port is listed but never connects Use the /dev/cu.* port, not the /dev/tty.* one.
A robot skill that runs an AI model shows an error about ONNX Runtime On an Intel Mac this is expected. See What is different on an Intel Mac.
ARCx stops when the Mac sleeps See Keep the Mac awake.
Start-up log ~/ARCx Data/Logs. When ARCx runs at login, its console output is in ~/Library/Logs/ARCx.log.

macOS says ARCx cannot be opened

macOS marks every file downloaded by a web browser as coming from the internet, and Gatekeeper then refuses to run the program and its libraries. Files downloaded with curl in Terminal, as in the Install step, are not marked.

If you downloaded the zip with a browser, move the unzipped folder to ~/ARCx and remove the mark from every file in it:

xattr -dr com.apple.quarantine ~/ARCx
chmod +x ~/ARCx/ARCx

Then start ARCx again. Clicking Open Anyway in System Settings > Privacy & Security also works, but only for one file at a time, and ARCx has many.