Install CatalEx
This guide installs CatalEx yourself. The one-command installer is the preferred path: it installs the catalex command and the app together. You can download the app alone instead. To have your AI agent do the setup, give it the setup prompt instead; it follows the same steps.
Before you begin
- A Mac with Apple silicon, where the app and your agents run. The
catalexcommand also runs on Linux. - Codex or Claude Code, installed and signed in. Keep each agent on the AI tool its folder was designed for.
- A Google account. CatalEx has no email and password sign-in. With CatalEx Cloud your agents run on this Mac and CatalEx Cloud carries their messages, so you run no server and need no public address.
Commands use a POSIX shell. Replace uppercase placeholders with your own values.
Install with one command
Run the installer in a terminal. It is the preferred way to install: one command gives you both the catalex command and the app.
curl -fsSL https://downloads.catalex.co/install/catalex.sh | sh
export PATH="$HOME/.local/bin:$PATH"
catalex version
The installer asks nothing. It downloads the newest release and checks each file against the release checksums. It installs catalex in ~/.local/bin and adds that folder to the PATH of future login shells. On a Mac with Apple silicon it also installs the CatalEx app in /Applications and opens it. It then starts CatalEx and waits, for up to 2 minutes, until it is ready, and prints CatalEx is running. The app opens last. If the CatalEx app is already open, the installer keeps it as it is, prints The CatalEx app is open, so it was kept as it is. Quit it and run: catalex install app, and still installs and starts CatalEx; pass --yes to quit and replace the open app instead. If CatalEx does not start, the installer stops with an error that says CatalEx was installed but is not running, and names the command to check it (catalex status). Set CATALEX_START_TIMEOUT to a number of seconds to wait longer. The installer needs no account or token and nothing from GitHub: it downloads from downloads.catalex.co. It needs curl, tar and sha256sum or shasum, which a Mac already has. Run the installer again to recover from an interrupted installation. The app's checksums are at SHA256SUMS.
Options for the installer, passed as sh -s -- OPTION:
| Option | Effect |
|---|---|
--no-launch | Install the app but keep its window closed, to finish setup in the terminal first. CatalEx is still started. |
--no-app | Install only the catalex command. It cannot be combined with --no-launch. |
--app | Install the app too. This is the default on a Mac with Apple silicon, and is refused elsewhere. |
--app-only | Install only the app. |
--version V | Install release V instead of the newest. |
--bin-dir DIR, --no-path | Put catalex in DIR; with --no-path, leave PATH alone. |
--apps-dir DIR | Put the app in DIR (an absolute path) instead of /Applications. |
--yes | Quit a running CatalEx that must be replaced. |
--from-dir DIR | Install from a local release folder (assets/ and tree/). |
Expected result: catalex version prints a version number, such as 0.1.20, the installer printed CatalEx is running., and on an Apple silicon Mac the CatalEx app opens. Continue in the app or with the CLI below.
catalex install and catalex update download from downloads.catalex.co too, and check each file against the release checksums. The installer, catalex install and catalex setup also register a login item that starts CatalEx's service at every login without opening the app, so updates and agents keep running after a restart. See Start CatalEx at login to check or turn it off.
CatalEx keeps its files under ~/.local/share and ~/.local/state and its settings under ~/.config. An absolute XDG_DATA_HOME, XDG_STATE_HOME or XDG_CONFIG_HOME replaces the matching folder in the installer, catalex install and the service alike; a relative value is ignored. The catalex command stays in ~/.local/bin unless you pass --bin-dir, and the app and a Linux login item still use the home folder.
Or download the app
Prefer to click? Download CatalEx for Mac (Apple silicon), open the .dmg and drag CatalEx to Applications. This installs the app only; the app installs the catalex command and the rest when it first starts. Get the CatalEx app lists every screen and what to do when macOS refuses the first launch.
Install parts on their own
With catalex installed, catalex install service web installs the service and the web app next to it, checked the same way and without setting anything up. catalex install app installs only the app. catalex install status shows what is installed, from which release, and whether each file is still the one installed.
Sign in to Codex or Claude Code
codex login # Codex
claude auth login # Claude Code
catalex providers discover # installed, version, signed in
In the app
Follow the setup the app shows: What describes you best?, Pick your AI, then Reach it from anywhere with Log in using Google. It ends with You're all set and Create your first agent. The app installs and starts everything else it needs. Continue with Add an agent.
With the CLI
The installer above already put catalex on this computer. The steps below finish the setup from a terminal; skip the app screens if you use them.
1. Check the installation
catalex version
2. Install the components
The installer installs catalex and the app. The service that runs agents and the web app come next; the app's setup installs them itself.
catalex install service web
catalex install status
Expected result: catalex, service and web are listed as installed, and the app if you installed it. Nothing is set up or running yet.
3. Check your AI tool
catalex providers discover
The list shows Codex and Claude Code, each with its version and state, installed and signed in or not. A tool is found even when its folder, such as ~/.local/bin, is not on PATH. If your tool is signed out, run catalex providers login claude or catalex providers login codex and complete the provider's own sign-in. Run catalex providers discover again to confirm. Before CatalEx is set up, an installed and signed-in tool shows Installed and signed in; setting CatalEx up connects it: setup connects it, so there is nothing to connect by hand. These commands run before you sign in to CatalEx; catalex providers without discover needs the sign-in of step 4.
4. Start and sign in to CatalEx Cloud
Use codex instead of claude for a Codex agent, or claude,codex for both:
catalex setup --preset cloud --native-providers claude --start
Without a saved sign-in, the command first signs you in with Google. It prints a link and opens it in your browser:
Setting up CatalEx Cloud needs your CatalEx account; signing in first.
Sign in with Google in your browser:
https://…
Waiting for you to finish signing in...
It waits up to 10 minutes; Ctrl-C stops it. After you sign in, the browser page reads "You're signed in to CatalEx" and the command prints:
Signed in to SERVICE as EMAIL.
This computer is now one of your computers.
Trusted for changes: yes
It then starts native chats and connects to CatalEx Cloud. If this computer is already signed in, it skips the sign-in. With --start it also opens the app if it is closed; add --no-launch to keep it closed. If the sign-in expires or you cancel it, run the same command again. When your account already has a trusted device, such as the CatalEx app, a first sign-in on this computer is not trusted for changes yet: setup stops with DEVICE_NOT_TRUSTED and says how. Trust this computer in the app's device list (Settings > Devices), or run catalex devices trust CLIENT_ID on a trusted device, then run the same setup command again.
To sign in without running setup, run catalex login. Google is the only sign-in; there is no email and password option, and the first Google sign-in creates your account. See CatalEx Cloud and account.
Setup reuses saved choices. After fixing an interruption, run the same command again. When a setup changes deployment settings while CatalEx runs, it stops CatalEx, saves the setup and starts it again, and a failed stop or setup starts the earlier state again.
Signing in is required. Without a sign-in, commands that touch agents, chats or channels fail with ACCOUNT_SIGNIN_REQUIRED. The refusal names the next step: the setup command above when CatalEx is not set up on this computer, and catalex login when only the sign-in is missing. The commands that install, update, set up, start, stop and check CatalEx run signed out.
5. Check the setup
catalex install status
catalex status
catalex account status
install status confirms the installed files, status confirms the configured and running components, and account status shows Account: signed in as EMAIL. None of them proves that an agent can answer yet. Open the app with catalex open.
6. Onboard the agent and verify a reply
Follow Add an agent, then Native chats. Check for an exact reply, then ask a question that needs the folder's own instructions or tools. Keep the test chat.
Only then connect a messaging channel, if you want one. A connected account does not prove delivery: send a message from the real messaging app and check the reply there.
Update, restart and uninstall
catalex update --check # what is installed and what is newer; changes nothing
catalex update # replace everything the installers installed
catalex stop --all # restart CatalEx...
catalex start # ...and keep saved agents, channels and conversations
catalex uninstall # everything the installers installed; saved data is kept
catalex update updates every part the installers recorded, never downgrades, and keeps a command that was changed since it was installed. While CatalEx runs it stops and asks for --restart, which stops CatalEx, installs the new release and starts it again. A running CatalEx app is replaced only with --yes, which quits it first. catalex uninstall service or catalex uninstall app removes only that part; catalex uninstall --purge also deletes saved conversations, credentials and the release files, so use it only when you mean it. Everyday operation covers automatic updates, repair and removal in full.
If setup fails
If the CLI installation failed, fix that installer error first. Once catalex works, run catalex status to see why setup failed, fix the reported cause and run the same command again. An occupied port can be changed with setup's port flags; see network settings. A missing provider needs installing or signing in, not a new agent. Troubleshooting lists errors and fixes. Common installer symptoms:
| Symptom | What to do |
|---|---|
checksum mismatch | The download was damaged or replaced. Delete it and download again; never install a file that fails the check. |
| An AI provider command is missing | Install the provider using its own instructions, then sign in as the user that runs agents. |
| macOS says the app is damaged or from an unidentified developer | The build is not notarized: right-click and choose Open, or choose System Settings > Privacy & Security > Open Anyway. |
catalex: command not found | Open a new terminal: the installer's PATH change reaches new ones only. If the installer could not change your profile (or you used --no-path), add export PATH="$HOME/.local/bin:$PATH" to your shell's login profile, or run ~/.local/bin/catalex. |
| Anything else | catalex status shows what is running and why it stopped. |
catalex doctor --fix restarts CatalEx on this computer if it stopped.