To connect your phone to the Codex CLI, install the Notifier for Codex app on your iPhone or Android phone and the free codex-notifier command line tool on your computer, then pair them. In the app, add a computer: it shows a 6-digit code and the exact line to run, such as codex-notifier pair 482913. Or run codex-notifier pair on the computer, press Enter for a QR code and scan it. It works the same on Mac, Windows and Linux and takes about a minute.
01What pairing gives you
Once a phone is paired, Codex can reach you when it needs you:
- A "Codex has finished" push the moment a turn ends.
- Approval requests for commands and patches, which you approve or reject (with a note, if you like).
- Codex's questions, answered by picking or typing an answer.
- A follow-up instruction you can send right after Codex finishes.
Before you pair, codex-notifier already shows desktop notifications on the computer for the same moments. Pairing adds the phone.
Notifier for Codex is an independent tool made by TouchTap Ltd. It is not made by, affiliated with or endorsed by OpenAI. It works through Codex's hooks, so it covers every codex session on the computer in any terminal, including the terminals inside VS Code, Cursor and JetBrains IDEs.
02Before you start
You need:
- The Codex CLI installed and signed in on the computer (
codexruns). - The Notifier for Codex app on your phone, from the App Store or Google Play. If you scan the QR code before installing the app, your phone offers the store first.
- A network connection on both devices.
The app is free to download and needs a subscription or a one-off purchase to use. See pricing.
03Two ways to pair
Both routes end in the same place. Pick whichever is easier.
codex-notifier, or you'd rather scanCodes in both directions last 24 hours.
04Route 1: the phone shows a code
- Open Notifier for Codex, go to the Machines tab and tap Link a computer. Pick your computer's system.
- The app shows a 6-digit code and the line to run, with the code already in it.
- Run that line in a terminal on the computer.
On Mac or Linux:
curl -fsSL https://notifierforcodex.com/install.sh | sh -s 482913
On Windows, in PowerShell (Windows support is in beta):
irm https://notifierforcodex.com/install.ps1 | iex; codex-notifier pair 482913
With Homebrew (macOS or Linux):
brew trust --formula touch-tap/tap/codex-notifier && brew install touch-tap/tap/codex-notifier && codex-notifier pair 482913
With Node.js, on any system:
npx @touchtap/codex-notifier pair 482913
Use your own code in place of 482913. If codex-notifier is already installed, codex-notifier pair 482913 is enough. You can also run plain codex-notifier pair: it asks whether your phone shows a 6-digit code, and you type it there.
05Route 2: the computer shows a code
- Install
codex-notifierwith any line above, without the code, for example:
curl -fsSL https://notifierforcodex.com/install.sh | sh
- Run
codex-notifier pair(the Mac and Linux install line runs it for you). When it asks for the phone's code, just press Enter. - The terminal shows a QR code, a link and a 6-digit code.
- Either scan the QR code with your phone's camera, or open the app, tap My computer shows a code and type the 6 digits.
- The terminal confirms the phone is paired.
If you scan the QR code without the app installed, the link takes you to the App Store or Google Play first. On iPhone, install the app and scan again. On Android, open the app after installing and it connects by itself.
06What installing changes
codex-notifier adds six entries to ~/.codex/hooks.json (SessionStart, UserPromptSubmit, PreToolUse, PermissionRequest, Stop and SessionEnd), each running codex-notifier hook. Codex only runs hooks you have trusted, so it also writes each hook's trust hash into ~/.codex/config.toml. That means no /hooks review step: the hooks run from the next codex session. Everything else in both files stays as it was, and a one-time backup sits beside each.
07Check that it works
Right after pairing, the phone gets a test notification you can answer, and the terminal shows your answer. After that, two commands confirm everything:
codex-notifier doctor # hooks, trust, credentials, server, presence detection
codex-notifier test # sends a test notification to your phone
Then try it for real. Start codex, give it a small task, and step away from the keyboard. When it finishes, your phone gets a push.
codex-notifier notices when you're at the computer. If you typed in the last 30 seconds, approvals and questions appear in the terminal as usual and nothing waits for the phone. Step away to see the phone take over.
08Pairing more than one device
- Several computers, one phone. Repeat the steps on each computer. Your work Mac, a Linux server and a Windows laptop can all reach the same phone. Running several Codex sessions explains how to tell them apart.
- Several phones, one computer. Pair each phone with the same computer, up to three.
- See or remove phones.
codex-notifier deviceslists paired phones, andcodex-notifier devices revoke <name>removes one.
09Scripts and remote machines
codex-notifier pair --no-wait shows the code and returns at once; pairing completes when the phone connects. On a server over SSH, Route 1 is simplest, since you paste the app's line into the same SSH session you use for Codex. Codex notifications over SSH covers the rest.
10If pairing does not work
- "That code wasn't recognised". Codes change every 24 hours. Copy the line the app shows right now, or press Enter for a QR code instead.
- The QR code does not scan. Make the terminal window larger, open the printed link on the phone, or type the 6 digits under My computer shows a code.
codex-notifieris not found after installing. Open a new terminal so yourPATHupdates.- Paired, but no push arrives. Run
codex-notifier doctor, thencodex-notifier test, and check that notifications are allowed for the app in your phone's settings.
The full list is in Codex notifications not working? A checklist.
11Not ready to pair yet?
That's fine. Desktop notifications work from the moment codex-notifier is installed. Until a phone is paired, it occasionally suggests pairing. To stop the suggestions:
codex-notifier config set pair_nudges off
12FAQ
Do I need an account to pair?
No. Notifier for Codex has no accounts, and pairing doesn't involve your OpenAI or ChatGPT account. Notifications pass through an encrypted relay and are deleted within 48 hours. See the Privacy Policy.
How long does a pairing code last?
24 hours, in both directions. The app makes a fresh code when the old one runs out.
Can I pair a computer that has no screen?
Yes. Use Route 1: get the code from the app and run codex-notifier pair with it on that machine, for example over SSH.
Does pairing change my Codex settings?
Installing adds six hook entries to ~/.codex/hooks.json and their trust entries to ~/.codex/config.toml, and leaves everything else alone. codex-notifier uninstall removes exactly those entries, the pairings and its local files.
How do I unpair a phone?
Run codex-notifier devices to see the paired phones, then codex-notifier devices revoke <name>. codex-notifier forget also erases the computer and its pairings from the server.