App iOS
L'app cmux pour iOS est un compagnon de votre Mac. Appairez votre iPhone ou iPad avec un Mac exécutant cmux et connectez-vous à vos terminaux depuis votre téléphone, avec transfert optionnel des notifications du terminal.
Set up cmux on iPhone and iPad
Obtenir l'accès
L'app est distribuée via TestFlight. L'accès anticipé est inclus avec cmux Founders Edition, ainsi que d'autres fonctionnalités en avant-première.
Set up cmux on iPhone and iPad
cmux on iOS connects to cmux running on your Mac. Your shells and agents continue running on the Mac while you view and control their workspaces from your phone or tablet.
Before you start
- Install the latest cmux on your Mac and keep it open with at least one workspace. If the phone requests a newer Mac version, update the specific cmux app you are connecting to.
- Install cmux on your iPhone or iPad. For the beta, accept your TestFlight invitation and install cmux BETA through TestFlight.
- Have both devices connected to the internet and use the same cmux account. If you use teams, select the same team on both devices.
Download cmux for Mac · Get cmux for iOS
1. Enable pairing on your Mac
- Open cmux on the Mac and sign in to your cmux account.
- Open cmux Settings, select Mobile, and turn on Enable iOS pairing. Do this in each cmux Mac app you want to access from your phone.
- Keep cmux running and the Mac awake. If the Mac sleeps, shuts down, or loses its connection, the phone cannot reach its terminals.
2. Sign in and connect from iOS
- Open cmux on your iPhone or iPad and sign in with the same cmux account as the Mac. Check the email on both devices if you have more than one account.
- Follow the introduction. Enable Notifications when asked, or choose Not Now and enable them later. On the pairing page, confirm that you enabled iOS pairing on your Mac.
- Choose Auto-Connect and tap Check for My Mac. This discovers compatible Macs signed in to your account. Auto-Connect does not require you to install Tailscale.
- When the Mac is connected, tap Open Workspaces. Choose a workspace, then a terminal to view output and send input. Use All Computers at the top to change the selected Mac.
Optional: connect with Tailscale Only
- Install Tailscale on the Mac and iPhone or iPad, sign both into the same Tailscale network, and confirm Tailscale is connected on both.
- Keep Enable iOS pairing on in cmux Settings > Mobile. On iOS, select Tailscale Only in the connection options, then choose Scan Pairing Code.
- Open Mobile Connect in cmux on the Mac and scan its pairing code with the phone. Allow camera access when requested and follow the pairing prompts.
- Keep Tailscale connected on both devices when using this mode, including when the phone switches from Wi-Fi to cellular. Your Tailscale access rules must allow the phone to reach the Mac.
3. Enable agent notifications
- Tap Enable Notifications during the introduction and allow notifications in the iOS prompt. If you skipped or denied it, open iOS Settings > Notifications > cmux and enable Allow Notifications.
- Check notification settings in cmux on both devices and enable forwarding where offered. Keep the Mac running and connected so it can send new agent alerts.
- Open a workspace with a configured coding agent and trigger an alert. Check the Notifications tab in cmux, then check delivery to your phone. Focus modes and Scheduled Summary can delay or silence alerts.
Configure terminal and agent notifications
4. Verify your connection
- Open a terminal from the phone and run a harmless command such as pwd. Confirm the output appears on the phone and in the same Mac workspace.
- Switch to another workspace, then return. If you plan to connect away from home, test on cellular before leaving the Mac.
- Keep the Mac plugged in and awake for remote access. A keep-awake option may be offered during setup; use it if you want the Mac to remain reachable.
If no workspaces appear
After correcting a setup issue, return to Workspaces and tap Retry. Retry reconnects to a saved Mac or refreshes the workspace list and account-backed connection information.
The Mac is missing
Check Enable iOS pairing in Settings > Mobile on the exact Mac app you opened. Confirm the same cmux account and team on both devices, and keep that Mac app running. Use the Computers button to inspect available Macs and check whether you hid the computer.
cmux asks for a newer Mac app
Update cmux on the Mac, then quit and reopen that app. If you run several cmux versions, confirm the phone is selecting the updated one. Follow the minimum version shown by the iOS app.
The Mac appears but will not connect
Wake the Mac and check internet access on both devices. Allow Local Network access on iOS if requested. For Tailscale Only, check that both Tailscale apps are connected to the same network and that access rules permit the connection. Then tap Retry.
The connection works but the list is empty
Create or open a workspace in cmux on the Mac. On the phone, choose All Computers and clear workspace search or filters. Pull down to refresh the list, or tap Retry in the empty state.
Still need help?
Include your cmux versions on Mac and iOS, your connection mode, the exact error, and whether the Mac appears under Computers. Never include passwords or pairing codes.
Prérequis
Avant de commencer, vous avez besoin de :
- Un Mac exécutant cmux et connecté.
- Un iPhone ou iPad avec l'app cmux BETA installée depuis TestFlight.
- Un chemin réseau de votre téléphone vers votre Mac (voir Utilisez votre propre réseau ci-dessous).
Utilisez votre propre réseau
cmux ne fournit pas de réseau par défaut. Le flux du terminal circule directement entre votre téléphone et votre Mac, donc votre téléphone doit pouvoir joindre votre Mac sur le réseau. Le plus simple est un réseau superposé privé.
Tailscale (recommandé)
Installez Tailscale sur votre Mac et votre téléphone et connectez-vous au même tailnet. Votre téléphone peut alors joindre votre Mac par son adresse tailnet depuis n'importe où, sans redirection de ports.
WireGuard
Si vous utilisez déjà WireGuard, placez votre Mac et votre téléphone sur le même réseau et utilisez l'adresse WireGuard du Mac.
Appairer et connecter
- Sur le Mac, ouvrez la fenêtre Mobile Connect dans cmux.
- Sur votre téléphone, ouvrez l'app cmux BETA et confirmez l'appairage affiché dans Mobile Connect.
- Une fois appairés, vos espaces de travail et vos terminaux apparaissent sur le téléphone via votre réseau.
L'appairage se fait par appareil. Un nouvel appareil, ou une app réinstallée, s'appaire à nouveau.
Notifications
Vous pouvez choisir de transférer les notifications du terminal vers votre téléphone, afin qu'un panneau nécessitant votre attention envoie une notification à votre appareil. Lorsque le transfert est activé, le texte de la notification (titre et corps, tirés de la sortie du terminal) est envoyé via les serveurs de cmux au service de notifications d'Apple pour être délivré. Activez Hide content dans les réglages de notifications pour envoyer un message générique à la place et garder le texte du terminal sur vos appareils. Consultez notifications pour savoir comment cmux les déclenche.
Quelles données sont stockées
cmux est conçu pour que votre terminal reste entre vos appareils. Sur les serveurs de cmux, nous ne stockons que ce qui est nécessaire pour vous connecter et relier vos appareils :
- Votre compte issu de la connexion (e-mail), pour vous identifier sur tous vos appareils.
- Un jeton de notification pour votre appareil, afin de délivrer les notifications transférées du terminal.
- Les métadonnées d'appairage et d'appareil, pour relier votre téléphone à votre Mac.
Entreprise et auto-hébergement
Pour un déploiement auto-hébergé ou isolé du réseau, contactez founders@cmux.com.