The ways at a glance
| Way | What you control | What it needs | From |
|---|---|---|---|
| Universal Control | The pointer and keyboard of the Mac | An iPad next to the Mac, the same Apple Account | iPad |
| Remote app with Music | The Music library on the Mac: play, pause, volume | The same Wi-Fi, a 4 digit code in Music | iPhone and iPad |
| Shortcuts over SSH | Commands you write, such as putting the Mac to sleep | Remote Login on the Mac, a script | iPhone and iPad |
| CM - Remote | Playback, volume, apps, screen saver, and with Pro sleep, restart and more | CM Agent on the Mac, the same Wi-Fi | iPhone and iPad |
1Use the Mac from an iPad with Universal Control
With an iPad next to the Mac, one pointer and one keyboard move between both screens. It does not work from an iPhone.
- On the Mac, choose Apple menu > System Settings > Displays, click Advanced and turn on Allow your pointer and keyboard to move between any nearby Mac or iPad.
- On the iPad, open Settings > General > AirPlay & Continuity and turn on Cursor and Keyboard.
- Move the pointer past the edge of the Mac screen toward the iPad.
Both devices need the same Apple Account, Bluetooth, Wi-Fi and Handoff turned on, and must be within about 10 meters of each other.
2Control Music on the Mac with the Remote app
Apple's Remote app plays and pauses the Music library of the Mac from an iPhone or iPad on the same Wi-Fi. It controls the Music app only.
- Install Remote from the App Store and open it. Tap Connect Manually: a 4 digit code appears.
- On the Mac, open Music and click the Remote button below Devices in the sidebar.
- Enter the 4 digit code.
3Run commands with Shortcuts and Remote Login
For people at ease with Terminal: a shortcut on the iPhone can send a command to the Mac, for example to put it to sleep.
- On the Mac, choose Apple menu > System Settings > General > Sharing.
- Click the info button next to Remote Login, turn it on, and choose who is allowed under Allow access for.
- On the iPhone, create a shortcut with the Run Script Over SSH action, the address and user shown under Remote Login, and your command.
Apple notes that Remote Login can make your Mac less secure. Allow only your own user, and turn it off when you no longer need it.
4Set up CM - Remote in two minutes
CM - Remote works with CM Agent, a small menu bar app on the Mac that receives the commands. Get it on the Mac App Store, or from decodr.tech with more controls.
- On the Mac, install CM Agent and open it. Its icon appears in the menu bar.
- On the iPhone, open CM - Remote. Under Install CM Agent on your Mac, Send link to Mac sends you the download link if you need it.
- Under Choose your Mac, tap Pair next to the name of your Mac.
- Both screens show the same 6 digit code. Click Allow on the Mac, then tap The codes match on the iPhone.
Allow Local Network for CM - Remote when the iPhone asks: it is how the app finds your Mac on your Wi-Fi. To look around first, tap See a demo: a pretend Mac, nothing is sent.
5Play, pause, turn it up, open an app
- Now playing: the track or video in Music, Spotify or your browser, with play and pause, next and previous, and jumps of 10 seconds back or forward. Choose what to control picks the source.
- Volume: a slider and a mute button. The volume buttons of your iPhone also control the Mac.
- Apps: the apps running on your Mac, under Running on your Mac.
- Screen: start the screen saver, or keep the Mac awake during a long download.
6Sleep, restart and more with Pro
The daily controls are free. CM - Remote Pro, a one-time purchase, adds the rest:
- With either CM Agent: open any app and search the installed apps, pair several Macs and switch between them, see the details of each Mac, and use Shortcuts.
- With the full CM Agent from decodr.tech: sleep, restart and shut down, lock the screen, dark mode, trackpad and keyboard, quit or force quit an app, full screen, windows, a Time Machine backup, and files sent to your iPhone.
To switch Macs, tap the name of the Mac at the top of the remote screen and pick another one, or Pair another Mac….
7When the Mac does not show up
- Check that the Mac and the iPhone are on the same Wi-Fi and that CM Agent is open on the Mac.
- On the iPhone, allow Local Network for CM - Remote in the Settings app.
- If you use a firewall such as LuLu or Little Snitch, allow incoming connections for CM Agent.
- So the agent is there after a restart, turn on Open at login in the CM Agent settings.
- If music does not answer, allow CM Agent to control that app on the Mac, in Privacy & Security > Automation.
Questions
Does CM - Remote work away from home, over mobile data?
No. It works on your local network only: the iPhone and the Mac must be on the same Wi-Fi. Nothing goes through a server on the internet.
Which CM Agent should I install?
The Mac App Store edition covers playback, volume, apps and the screen saver. The full edition from decodr.tech adds sleep, restart, shut down, lock, trackpad and keyboard, and more. Both work with the same iPhone app.
Which devices do I need?
An iPhone or iPad with iOS 17 or later, and a Mac with macOS 14 or later running CM Agent 2.0 or later.
Is CM - Remote Pro a subscription?
No. It is a one-time purchase. Restore it on another device with Restore purchase in the app.