Quickstart
Quickstart
Section titled “Quickstart”1. Install
Section titled “1. Install”Choose one method from the installation guide. For Linux or macOS, the standalone installer is:
curl -sSfL https://compressi.us/install.sh | shFor Windows, run in PowerShell:
iwr -useb https://compressi.us/install.ps1 | iexThe standalone installers run setup and ask whether to connect ready coding clients. Yes connects those listed. No leaves them on their direct connections and prints the commands for connecting later. If the terminal cannot read an answer, setup reports an error; open an interactive terminal and run cmx setup --ask-connect-ready.
2. Check the gateway and choose a client
Section titled “2. Check the gateway and choose a client”cmx --versioncmx statuscmx harness listIf you declined automatic connection, list the providers discovered for your client, then connect one by its displayed ID:
cmx providers codex listcmx providers codex connect apiFor Codex, use api for its OpenAI API sign-in or chatgpt for its ChatGPT sign-in. Other clients have different IDs; see supported clients. You can also open cmx and choose CONFIG. cmx providers <client> list only reports status; it does not connect the client.
If you installed a package without running setup, run cmx setup --ask-connect-ready to make this choice. Plain cmx setup starts the gateway and may connect Codex’s existing sign-in.
3. Confirm a real request
Section titled “3. Confirm a real request”Restart the coding client, then run:
cmx harness verifycmx statsSend a short request in the client and run cmx stats again. New activity shows that requests are reaching CMX. A running gateway or a successful harness verify alone does not prove the client sent traffic.
4. Return to a direct connection
Section titled “4. Return to a direct connection”cmx providers codex disconnect apiUse the provider ID you connected. For all supported clients, cmx stop restores direct routing before stopping the gateway. A later cmx start may reconnect routes that stop saved; use the provider disconnect command or cmx harness disable <client> when you want to stay direct. See Undo and uninstall.
