CLI reference · NoMac

CLI reference

@nomac/cli runs a cloud Mac from your terminal or your agent. Run it in your project's folder: each folder remembers its Mac.

Terminal

npm install -g @nomac/cli
nomac login
nomac start
nomac sync .
nomac exec --wait 600 -- xcodebuild -scheme App build
nomac pull ./build
nomac stop

It needs Node 20 or later and OpenSSH, which macOS and Windows 10 and 11 include; on Windows it runs in PowerShell or cmd. It updates itself in the background, and nomac --help lists everything below.

Account

Start and stop

Run commands

Exit code 75 means the command is still running on the Mac: follow it with nomac job, never run it again. In scripts, add --request-key KEY and reuse it after a lost answer.

Files

Screen and input

Access

Secrets

Sign and ship

Paths are on the Mac, relative to the synced folder. Metadata, screenshots and review checks have no commands: your agent does them over MCP, or curl the Mac API.

Agents

Configuration